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 details)

Uploaded Source

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

Uploaded Source

File details

Details for the file downloadduxiu-0.9.zip.

File metadata

  • Download URL: downloadduxiu-0.9.zip
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for downloadduxiu-0.9.zip
Algorithm Hash digest
SHA256 7774591d414f8c09d06175b16d08e02c12688e64e4e4a4adb4c8d02cfec8d6e0
MD5 e84f883b1ae788e2376919bc809c0c96
BLAKE2b-256 0546edaa1bcb72331bec78886eccfa742bab652f0c6083b419ac0da9d3fd5f62

See more details on using hashes here.

File details

Details for the file downloadduxiu-0.9.tar.gz.

File metadata

  • Download URL: downloadduxiu-0.9.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for downloadduxiu-0.9.tar.gz
Algorithm Hash digest
SHA256 1dfa5f9e213c7f16a9ac4c91fe134b2ed40ae3a5c35539e08cba46bc817fbb56
MD5 9faf19e54fdca3dc064d1c44edf2be1b
BLAKE2b-256 f25a55f0d2a4eea44b6a30643688e8ac4bc7a7e43edd40d812f5a93e7f0d7f47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page