-
Install required libraries:
pip install -r requirements.txt
-
Install wkhtmltopdf:
-
Windows
Use binary installer, download from here
OR
If Chocolatey is installed
choco install wkhtmltopdf
-
Debian/Ubuntu
sudo apt-get install wkhtmltopdf
-
macOS
brew install homebrew/cask/wkhtmltopdf
-
-
Run the script
python sanfoundry.py
Script uses below types of link.
For downloading single mcq page.
For downloading all mcq sets.
You can also use these types of link (Program Examples):
Program Sets: https://www.sanfoundry.com/c-programming-examples-stacks/
Single Programs: https://www.sanfoundry.com/c-program-stack-implementation/
All contributions are welcome, as long as they are meaningful.
Made with contributors-img.