An advanced web scraper tool that seamlessly fetches and combines over 350 online tutorials into a convenient offline PDF format.
Please support here: https://www.learncpp.com/about/
Get the image
docker pull amalrajan/learncpp-download:latest
And run the container
docker run --rm --name=learncpp-download --mount type=bind,destination=/app/learncpp,source=/home/amalr/temp/downloads amalrajan/learncpp-download
Replace /home/amalr/temp/downloads
with a local path on your system where you'd want the files to get downloaded.
-
Python 3.10.12
-
wkhtmltopdf
- Debian based:
sudo apt install wkhtmltopdf
- macOS:
brew install Caskroom/cask/wkhtmltopdf
- Windows:
choco install wkhtmltopdf
(or simply download it the old fashioned way). I wouldn't recommend using Windows, as the fonts are a bit weird. Unless of course, you have a thing for weird stuff.
Clone the repository
git clone https://github.com/amalrajan/learncpp-download.git
Install Python dependencies
cd learncpp-download
pip install -r requirements.txt
Run the script
scrapy crawl learncpp
You'll find the downloaded files inside learncpp
directory under the repository root directory.
Feel free to open a new issue here: https://github.com/amalrajan/learncpp-download/issues. Don't forget to attach those console logs.