Skip to content

Improved open source Weibo image crawler with no login required

License

Notifications You must be signed in to change notification settings

fyqc/openWPD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weiboPicDownloader

(not real) weibo user album batch download tool (CLI)

build user album by picking all photos from original weibos in user's post feed

for more weibo free login APIs, turn to wiki

References

yAnXImIN/weiboPicDownloader

ningshu/weiboPicDownloader

Overview

screenshot

Dependencies

$ pip(pip3) install requests
$ pip(pip3) install colorama #only windows version under 10.0.14393 required
$ pip install futures #only python2 environment required

Usage

$ python weiboPicDownloader.py -h
usage: weiboPicDownloader [-h] [-u user] [-us users [users ...]] [-f file]
                          [-d directory] [-s size] [-r retry] [-v] [-o]

optional arguments:
  -h, --help            show this help message and exit
  -u user               target a weibo user's nickname or id
  -us users [users ...]
                        target weibo users' nickname or id
  -f file               import user list from file
  -d directory          set picture saving path
  -s size               set size of thread pool
  -r retry              set maximum number of retries
  -v                    download videos together
  -o                    overwrite existing files

Required argument (choose one)

  • -u user user (nickname or ID)
  • -us users multiple users (nickname or ID, separated by space)
  • -f file user list file (nickname or ID, separated by linefeed)

Optional arguments

  • -d directory media saving path (default value: ./weiboPic)
  • -s size thread pool size (default value: 20)
  • -r retry max retries (default value: 2)
  • -v download miaopai videos at the same time
  • -o overwrite existing files (skipping if exists for default)

About

Improved open source Weibo image crawler with no login required

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%