Skip to content

Commit

Permalink
QqXMerge remote-tracking branch 'origin/v1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
spartakos87 committed Mar 4, 2018
2 parents 293ee5d + 22d9521 commit bb475f9
Show file tree
Hide file tree
Showing 66 changed files with 926 additions and 853 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,26 @@ The program is already support 60 greek site and I believe in the future this nu
## Dependencies
Only you need to have is [Python3](https://www.python.org/downloads/) and the [BeautfulSoup](https://pypi.python.org/pypi/beautifulsoup4)


---
## How to install it
---
Clone the repo and then run in folder greek_sites_crawler

```bash
python3 setup.py install
```
## How to run it
Go to the folder where the script is and execute the below scrip
```python
python3 greek_sites_crawler -url <"site's url">
from greek_sites_crawler import greek_sites_crawler as gr
data = gr(<url>)
data.get.data()
{'topic':topic,
'title':title,
'article':article,
'publish_time':publish_time
}
'
```


Expand Down
1 change: 1 addition & 0 deletions greek_sites_crawler/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from greek_sites_crawler.greek_sites_crawler import greek_sites_crawler
Loading

0 comments on commit bb475f9

Please sign in to comment.