Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Multi-threaded web scraper to download all the tutorials fromwww.learncpp.com and convert them to PDF files concurrently.

License

NotificationsYou must be signed in to change notification settings

amalrajan/learncpp-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-threaded web scraper to download all the tutorials fromwww.learncpp.com and convert them to PDF files concurrently.

Support ❤️

Please support here:https://www.learncpp.com/about/

Usage

Docker

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.

Local

You need Python 3.10 andwkhtmltopdf installed on your system.

Run it

Clone the repository

git clone https://github.com/amalrajan/learncpp-download.git

Install Python dependencies

cd learncpp-downloadpip install -r requirements.txt

Run the script

scrapy crawl learncpp

You'll find the downloaded files insidelearncpp directory under the repository root directory.

FAQ

Rate Limit Errors:

  • Modifysettings.py.
  • IncreaseDOWNLOAD_DELAY (default: 0) to 0.2.

High CPU Usage:

  • Adjustmax_workers inlearncpp.py.
  • Decrease from default 192 to reduce CPU load.
self.executor=ThreadPoolExecutor(max_workers=192)# Limit to 192 concurrent PDF conversions

Further Issues:

License

GNU Affero General Public License v3

Releases

No releases published

Packages

No packages published

Contributors7


[8]ページ先頭

©2009-2025 Movatter.jp