Skip to content

Latest commit

 

History

History
82 lines (63 loc) · 2.91 KB

README.md

File metadata and controls

82 lines (63 loc) · 2.91 KB

tutorial-pdf-downloader

Build Status Known Vulnerabilities contributions welcome python >=3.5

Downloads full tutorial PDFs from Javatpoint, Tutorialspoint and other websites.

Disclaimer / Please note:

These websites can provide free and quality education by showing advertisements, that's their only source of income. Don't overuse this script, as it gives their server huge pressure. This script is for those, who are poor, who don't have the luxury of stable and sustained internet connection. As I think education should be free for all, doesn't mean I support piracy. This is for educational purposes only. Always support their work, either by paying or visiting their websites.

Usage

First install depedencies:

Make sure you have pip installed, then run

pip install --user -r requirements.txt

Set up download links:

  • Copy any links from any tutorial from Javatpoint or Tutorialspoint or both and paste it in download_links.py.
  • If you want to download all listed tutorial in both sites, then jump to next step.

Run the Downloader:

  • To download each links from download_links.py that you set earlier:

     python main.py -u
  • To download all tutorials from Javatpoint:

     python main.py -j
  • To download all tutorials from Tutorialspoint:

     python main.py -t
  • To download all tutorials from Javatpoint and Tutorialspoint:

     python main.py -a
  • To check usages or help:

     python main.py -h

Save location

PDFs are saved in the same directory, in which you cloned the repository.

-- some_parent_directory
   |
   |-- tutorial-pdf-downloader
   |   |
   |   |--main.py
   |   |--download_links.py
   |   |--requirements.txt
   |   |--README.md
   |
   |
   |-- downloads
       |
       |--artificial-intelligence
       |--mobile-computing

Changelog

Future works

Bugs / Issues

  • If found, please report it in issues section.

Contribute

  • Any contributions or suggestions are welcome.