Skip to content

tushar-rishav/topcoder-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

topcoder-dl 🔖

Downloads all Topcoder data-science tutorials and save as PDF

Inspired from this awesome stuff called Youtube-dl

Installation

Dependency to be installed manually

wkhtmltopdf

Build from source
	git clone "https://github.com/tushar-rishav/topcoder-dl.git"
	cd topcoder-dl
	python setup.py install
Using pip
	pip install topcoder-dl

###Default config: target : TopcoderPdf

Usage

Fetch single post

To fetch single tutorial, say Binary Search, run this in your shell

topcoderdl -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
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
topcoderdl -h
Example
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! 😊

License

gpl

About

🔖 Scrape Data Science tutorials from Topcoder and save as PDF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages