• Stars
    star
    260
  • Rank 157,189 (Top 4 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created about 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Download weibo images without logging-in

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

中文 README

References

yAnXImIN/weiboPicDownloader

ningshu/weiboPicDownloader

Overview

Dependencies

$ pip install requests
$ pip 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 [user ...] | -f file [file ...])
                          [-d directory] [-s size] [-r retry] [-i interval]
                          [-c cookie] [-b boundary] [-n name] [-v] [-o]

optional arguments:
  -h, --help          show this help message and exit
  -u user [user ...]  specify nickname or id of weibo users
  -f file [file ...]  import list of users from files
  -d directory        set picture saving path
  -s size             set size of thread pool
  -r retry            set maximum number of retries
  -i interval         set interval for feed requests
  -c cookie           set cookie if needed
  -b boundary         focus on weibos in the id range
  -n name             customize naming format
  -v                  download videos together
  -o                  overwrite existing files

Required argument (choose one)

  • -u user ... users (nickname or id)
  • -f file ... user list files (nickname or id, separated by linefeed in the file)

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)
  • -i interval request interval (default value: 1, unit: second)
  • -c cookie login credential (only need the value of a certain key named SUB)
  • -b boundary mid/bid/date range of weibos (format: id:id between, :id before, id: after, id certain, : all)
  • -n name naming template (identifier: url, index, type, mid, bid, date, text, name, like "f-Strings" syntax)
  • -v download miaopai videos at the same time
  • -o overwrite existing files (skipping if exists for default)

How to get the value of SUB from browser (Chrome for example)

  1. jump to https://m.weibo.cn and log in
  2. inspect > Application > Cookies > https://m.weibo.cn
  3. double click the SUB line and copy its value
  4. paste it into terminal and run like -c <value>

More Repositories

1

UnblockNeteaseMusic

Revive unavailable songs for Netease Cloud Music
JavaScript
17,035
star
2

vsc-netease-music

UNOFFICIAL Netease Music extension for Visual Studio Code
JavaScript
1,022
star
3

Glee

也是个网易云第三方😶
JavaScript
355
star
4

weiboBatchFollow

微博批量关注 (转移关注列表)
225
star
5

163marker

Add "163 key" for media file
Python
124
star
6

onemoretime

Nogizaka46 graduated members' blog archive
HTML
42
star
7

Nroxy

A VPNService based HTTP Proxy APP bundled with Node.js Runtime
C
41
star
8

Jike-Bus

🚍 即刻 Ⓙ SDK for Node.js
JavaScript
23
star
9

KeyakiMsgAssistant-Xposed

Xposed module for "欅坂46/日向坂46 メッセージ" app
Java
15
star
10

idol

坂道系官博聚合阅读
Python
14
star
11

Jike-Patcher

The Sun Jike Rises
Smali
12
star
12

Unblock163MusicClient-Remote

Serverless Backend for Unblock163MusicClient-Xposed
JavaScript
12
star
13

Jike.Tab

New Tab Page for Jike.APP
JavaScript
9
star
14

JikeRedirect

Redirect Jike API to Jellow API
JavaScript
8
star
15

JikeRedirect-Xposed

Redirect Jike API to Jellow API
Java
8
star
16

KeyakiMsgAssistant

CLI tool for extracting resources from "欅坂46/日向坂46 メッセージ" app
Python
7
star
17

Jellow-Patcher

Make Jellow APP work again
Smali
6
star
18

electron-toutiao

开发者头条 Menubar application for Mac
JavaScript
6
star
19

NogiKeya

Utilities for collecting data from nogi‘s & keyaki’s official website
Python
5
star
20

bannero

An image API for simpledesktops.com
5
star
21

algorithm-review

被笔试虐得不要不要的
Python
4
star
22

contribution-graph

毕业衫创意 UESTC SCSE 2014
4
star
23

idol-dev

坂道系官博聚合阅读
JavaScript
3
star
24

platform

Moving instructions for nogimono
Python
3
star
25

Deno-Proxy

simple HTTP proxy
JavaScript
3
star
26

tauri-start

JavaScript
2
star
27

RemoteAudioElement

HTMLAudioElement for Node.js
JavaScript
2
star
28

nogimono

乃木物平台
Python
2
star
29

groove-music-concept

Concept design for Groove Music (For fun)
JavaScript
2
star
30

jellow

JavaScript
2
star
31

2048

2048 Game
2
star
32

kuuki-heroku

kuuki's server deployed on heroku
Python
2
star
33

sousenkyo-auto

AKB48 sousenkyo vote
Python
1
star
34

TimeFlies

new tab extension makes you more motivated
CSS
1
star
35

kuuki-predict

Python
1
star
36

onemorechance

Nogizaka46 graduated members' blog archive
HTML
1
star
37

ngx-plainindex

Plain indexes attachment for the Nginx web server
JavaScript
1
star
38

tiny-html-decorator

HTML
1
star
39

platform-api

APIs' documentation for nogimono
1
star
40

JellowRedirect-Xposed

Redirect Jellow API to Jike API
Java
1
star
41

dropbox

JavaScript
1
star
42

EXP-Weibo

不简单的微博平台
Python
1
star