Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tushar-rishav/topcoder-dl
:bookmark: Scrape Data Science tutorials from Topcoder and save as PDF
https://github.com/tushar-rishav/topcoder-dl
Last synced: 2 months ago
JSON representation
:bookmark: Scrape Data Science tutorials from Topcoder and save as PDF
- Host: GitHub
- URL: https://github.com/tushar-rishav/topcoder-dl
- Owner: tushar-rishav
- License: gpl-3.0
- Created: 2015-10-19T17:14:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-23T12:47:15.000Z (about 9 years ago)
- Last Synced: 2024-04-29T02:06:04.128Z (8 months ago)
- Language: Python
- Homepage:
- Size: 122 KB
- Stars: 23
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## topcoder-dl :bookmark:
###### Downloads all Topcoder data-science tutorials and save as PDFInspired from this awesome stuff called [Youtube-dl](https://github.com/rg3/youtube-dl)
### Installation
###### Dependency to be installed manually
[wkhtmltopdf](https://github.com/wkhtmltopdf/wkhtmltopdf)##### Build from source
```sh
git clone "https://github.com/tushar-rishav/topcoder-dl.git"
cd topcoder-dl
python setup.py install
```
##### Using pip
```sh
pip install topcoder-dl
```
###Default config:
target : TopcoderPdf### Usage
##### Fetch single post
To fetch single tutorial, say Binary Search, run this in your shell
```shtopcoderdl -p https://www.topcoder.com/community/data-science/data-science-tutorials/binary-search/
```
Note: the above command will save the pdf in default directory##### Fetch all tutorial in your custom directory
```sh
topcoderdl -t my_directory_abs_path```
Note: If the directory do not exists then topcoder-dl will create a new one else the PDFs will be saved in the exsting directory##### Get help
```sh
topcoderdl -h
```
##### Example
```sh
topcoderdl -p https://www.topcoder.com/community/data-science/data-science-tutorials/binary-search/ -t BSearch_TopCoder
```
The above command will fetch binary-search tutorial from TopCoder and save its PDF in Bsearch_TopCoder directory### Contributions
Have an idea to make it better? Go ahead! I will be happy to see a pull request from you! :blush:### License
![gpl](https://cloud.githubusercontent.com/assets/7397433/9025904/67008062-3936-11e5-8803-e5b164a0dfc0.png)