Skip to main content

download images from duxiu and chaoxing library

Project description

About this package

This downloadduxiu package is used to download books either from duxiu or from chaoxing if the book is accessable in your browsers.

It runs on Python 3 platform and rely on requests package, so download and install python 3 and requests before running following commands.

Files

downloadlib.py

  • –prex=prex :download directory, should be created before command runs.
  • –logifle=logfile :logfile
  • –procnum=1 :means how many threads will work to download pages
  • –yourlink :the link you get from returned email.
# prex direction must be created in order to execute this command.
# on linux
./downloadlib.py --logfile=logfile --prex=prex --procnum=n duxiu_url "yourlink"
# on windows
downloadlib.py --logfile=logfile --prex=prex --procnum=n duxiu_url "yourlink"

prefaces.py

# this script must be run first to prepare the prefaces before any images copyed to current direction.

# on linux
./prefaces.py *.jpg *.png
# on windows
prefaces.py *.jpg *.png

gui.py

Deprecated. Don’t run this script.

Project details


Release history Release notifications | RSS feed

This version

0.9

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

downloadduxiu-0.9.zip (12.8 kB view hashes)

Uploaded source

downloadduxiu-0.9.tar.gz (10.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page