## iScript
> *[L]* *[W]* *[LW]* linux, windows, linuxwindows
> ***windowsbabun (https://github.com/babun/babun) ***
| | |
--------|---------|---------|
*[L]* | [leetcode_problems.py](#leetcode_problems.py) | Leetcode |
*[L]* | [xiami.py](#xiami.py) | (xiami.com) |
*[L]* | [pan.baidu.com.py](#pan.baidu.com.py) | |
*[L]* | [bt.py](#bt.py) | magnet torrent .. |
*[L]* | [115.py](#115.py) | 115 |
*[L]* | [yunpan.360.cn.py](#yunpan.360.cn.py) | 360 |
*[L]* | [music.baidu.com.py](#music.baidu.com.py) | (music.baidu.com) |
*[L]* | [music.163.com.py](#music.163.com.py) | (music.163.com) |
*[L]* | [flv_cmd.py](#flv_cmd.py) | client - |
*[L]* | [tumblr.py](#tumblr.py) | tumblr.com |
*[L]* | [unzip.py](#unzip.py) | linuxunzip |
*[L]* | [ed2k_search.py](#ed2k_search.py) | donkey4u.com emule |
*[L]* | [91porn.py](#91porn.py) | 91porn |
*[L]* | [ThunderLixianExporter.user.js](#ThunderLixianExporter.user.js) | A fork of https://github.com/binux/ThunderLixianExporter - mpvmplayer |
| | |
---
---
### leetcode_problems.py - Leetcode
####
```
python2-requests (https://github.com/kennethreitz/requests)
python2-lxml
```
#### :
```
--index sort by index
--level sort by level
--tag sort by tag
--title sort by title
--rm_blank
--line LINE
-r, --redownload
```
./leecode_problems.pk
txt './leecode problems.txt'
---
### xiami.py - (xiami.com)
#### 1.
```
wget
python2-requests (https://github.com/kennethreitz/requests)
python2-mutagen (https://code.google.com/p/mutagen/)
mpv (http://mpv.io)
```
#### 2.
xiami.py (CLI)
**[ luoo.net](http://www.luoo.net)**
xm login (xiami)
~~**** xm logintaobao~~
~~**cookiescookies**~~
**cookies ( cookie)**
**vip**
**vip**
MP3id3 tags
cookies ~/.Xiami.cookies
:
> 1Enter2Enter
#### :
```
#
g
login
login username
login username password
signout #
d download url1 url2 #
p play url1 url2 #
s save url1 url2 #
```
#### :
```
-p, --play
-pp
-l, --low mp3
-d, --undescription disk
-f num, --from_ num num
-t TAGS, --tags TAGS tags,, eg: -t piano,cello,guitar
-n, --undownload ,MP3id3 tags
```
#### 3.
xm xiami.py (alias xm='python2 /path/to/xiami.py')
```
#
xm g
xm login
xm login username
xm login username password
# cookie
1. F12 http://xiami.com/vip
2. network xiami.com/vip Cookie: memthod_auth=value
3. value xm g value
#
xm signout
#
xm d http://www.xiami.com/album/168709?spm=a1z1s.6928801.1561534521.114.ShN6mD
#
xm d http://www.xiami.com/song/2082998?spm=a1z1s.6659513.0.0.DT2j7T
#
xm d http://www.xiami.com/song/showcollect/id/30374035?spm=a1z1s.3061701.6856305.16.fvh75t
# , Top 20 , radio
xm d http://www.xiami.com/artist/23460?spm=a1z1s.6928801.1561534521.115.ShW08b
# , , radio,
xm d http://www.xiami.com/u/141825?spm=a1z1s.3521917.0.0.zI0APP
#
xm d http://www.xiami.com/chart/index/c/2?spm=a1z1s.2943549.6827465.6.VrEAoY
# genre, radio
xm d http://www.xiami.com/genre/detail/gid/2?spm=a1z1s.3057857.6850221.1.g9ySan
xm d http://www.xiami.com/genre/detail/sid/2970?spm=a1z1s.3057857.6850221.4.pkepgt
# widget ()
xm d http://www.xiami.com/widget/player-multi?uid=4350663&sid=1774531852,378713,3294421,1771778464,378728,378717,378727,1773346501,&width=990&height=346&mainColor=e29833&backColor=60362a&widget_from=4350663
#
#
xm d http://www.luoo.net/music/706
```
#### :
```
# url
xm p url
```
#### :
```
xm s http://www.xiami.com/album/168709?spm=a1z1s.6928801.1561534521.114.ShN6mD
xm s -t 'tag1,tag 2,tag 3' http://www.xiami.com/song/2082998?spm=a1z1s.6659513.0.0.DT2j7T
xm s http://www.xiami.com/song/showcollect/id/30374035?spm=a1z1s.3061701.6856305.16.fvh75t
xm s http://www.xiami.com/artist/23460?spm=a1z1s.6928801.1561534521.115.ShW08b
```
#### 4. :
> http://kanoha.org/2011/08/30/xiami-absolute-address/
> http://www.blackglory.me/xiami-vip-audition-with-no-quality-difference-between-downloading/
> https://gist.github.com/lepture/1014329
> : https://github.com/ly0/xiami-tools
---
### pan.baidu.com.py -
#### 1.
```
wget
aria2 (~ 1.18)
python2-rsa
python2-pyasn1
python2-requests (https://github.com/kennethreitz/requests)
requests-toolbelt (https://github.com/sigmavirus24/requests-toolbelt)
mpv (http://mpv.io)
#
shadowsocks #
# python2 pip
# pip:
https://github.com/PeterDing/iScript/wiki/%E6%89%8B%E5%8A%A8%E8%A7%A3%E5%86%B3pan.baidu.com.py%E4%BE%9D%E8%B5%96%E5%8C%85
```
#### other
[](https://github.com/PeterDing/iScript/wiki/)
#### 2.
pan.baidu.com.py
bp login
****
****, shadowsocks
**cd, ls **
** **
wget, -a numaria2
-R
cwd
c ()
**(verification) -V**
2T
cookies ~/.bp.cookies
~/.bp.pickle
:
> 1Enter2Enter
#### :
**!!**
** **
```
#
g
login
login username
login username password
#
userdelete ud
#
userchange uc
#
user
#
cwd
#
cd path # ./../...
#
p play url1 url2 path1 path2
#
u upload localpath remotepath
#
u localpath remotepath [-P password] -t ec -R
#
s save url remotepath [-s secret]
#
d download url1 url2 path1 path2
d download url1 url2 path1 path2 -R
# !! :
# d /path/to/download -R *download*
# d /path/to/download/ -R *download*
#
d /path/to/download -R -t dc [-P password] [-m aes-256-cfb]
#
dc path1 path2 -R [-P password] [-m aes-256-cfb]
#
md mkdir path1 path2
rn rename path new_path
rm remove path1 path2
mv move path1 path2 /path/to/directory
cp copy path /path/to/directory_or_file
cp copy path1 path2 /path/to/directory
#
rnr rnre foo bar dir1 dir2 -I re1 re2
rmr rmre dir1 dir2 -E re1 re2
mvr mvre dir1 dir2 /path/to/dir -H head1 head2
cpr cpre dir1 dir2 /path/to/dir -T tail1 tail2
# -R
# rmr, mvr, cpr -t, -I, -E, -H, -T
# -I, -E, -H, -T
# -t
-t f #
-t d #
# rnr foo bar regex
# -y, --yes #
rmr / -I '.*' -y #
# bt.pybase64
rnr /path/to/decode1 /path/to/decode2 -t f,bd64
#
# directory , cwd
f find keyword1 keyword2 [directory]
ff keyword1 keyword2 [directory]
ft keyword1 keyword2 [directory] by time
ftt keyword1 keyword2 [directory] by time
fs keyword1 keyword2 [directory] by size
fss keyword1 keyword2 [directory] by size
fn keyword1 keyword2 [directory] by name
fnn keyword1 keyword2 [directory] by name
# -R
f 'ice and fire' /doc -R
# -t all
f keyword1 keyword2 [directory] -t all -R
f keyword1 keyword2 [directory] -t f,all -R
# directory /
# -H, -T, -I, -E
# -I, -E, -H, -T ,
f keyword1 keyword2 [directory] -H head -T tail -I "re(gul.*) ex(p|g)ress$"
f keyword1 keyword2 [directory] -H head -T tail -E "re(gul.*) ex(p|g)ress$"
# ( donwload, play, rnre, rm, mv)
f keyword1 keyword2 [directory] \| d -R
ftt keyword1 keyword2 [directory] \| p -R (by time )
f keyword1 keyword2 [directory] \| rnr foo bar -R rename by regex
f keyword1 keyword2 [directory] \| rm -R -T tail
f keyword1 keyword2 [directory] \| mv /path/to -R
#
l path1 path2 ls by name
ll path1 path2 ls by name
ln path1 path2 ls by name
lnn path1 path2 ls by name
lt path1 path2 ls by time
ltt path1 path2 ls by time
ls path1 path2 ls by size
lss path1 path2 ls by size
l /doc/books /videos
#
l path1 path2 -t f ls files
l path1 path2 -t d ls directorys
# -H, -T, -I, -E
# -I, -E, -H, -T ,
l path1 path2 -H head -T tail -I "^re(gul.*) ex(p|g)ress$"
l path1 path2 -H head -T tail -E "^re(gul.*) ex(p|g)ress$"
#
l path1 path2 -v
# size, md5
l path1 path2 -vv
#
l path1 path2 -t e,d
#
l path1 path2 -t ne,d
#
S share path1 path2
S share [-P pawd --passwd pawd] path1 path2
#
du path1 path2 *()*
du path1 path2 -R *()*
# l path1 path2 -t du [-R]
# eg:
du /doc /videos -R
#
a add http https ftp ed2k remotepath
a add magnet remotepath [-t {m,i,d,p}]
a add remote_torrent [-t {m,i,d,p}] # torrent
#
j job #
jd jobdump # **
jc jobclear taskid1 taskid2 # **
jca jobclearall # **
```
#### :
```
-a num, --aria2c num aria2c: eg: -a 10
-p, --play play with mpv
-P password, --passwd password
-y, --yes yes # rmre, mvre, cpre, rnre
-q, --quiet , download, play
-V, --VERIFY verification
-v, --view view detail
eg:
l -v #
a magnet /path -v #
d -p url1 url2 -v #
l path1 path2 -vv # size, md5
-s SECRET, --secret SECRET
-f number, --from_ number (download, play)eg: p /video -f 42
-t ext, --type_ ext , ,
eg:
-t fs #
# wiki
d -t dc # ,()
d -t dc,no # ,
dc -t no # ,
d -t ie # ignore error, Ctrl-C
d -t 8s # 8
p -t m3 # (m3u8)
s -t c # (
# )
l -t f #
l -t d #
l -t du #
l -t e,d #
f -t all #
a -t m,d,p,a
u -t ec # encrypt, ,
u -t ec,np # encrypt, ,
u -t r # rapidupload
u -t e # (md5)
u -t r,e
-t s # shuffle
-l amount, --limit amount eg: -l 100k
-m {o,c}, --mode {o,c} : o # . c # .
: https://github.com/shadowsocks/shadowsocks/wiki/Encryption
-R, --recursive , download, play, upload, ls, find, rmre, rnre, rmre, cpre
-H HEADS, --head HEADS eg: -H Head1 Head2
-T TAILS, --tail TAILS eg: -T Tail1 Tail2
-I INCLUDES, --include INCLUDES , eg: -I ".*.mp3" ".*.avi"
-E EXCLUDES, --exclude EXCLUDES , eg: -E ".*.html" ".*.jpg"
-c {on, off}, --ls_color {on, off} ls on
# -t, -H, -T, -I, -E download, play, ls, find, rnre, rmre, cpre, mvre
```
#### 3.
bp pan.baidu.com.py (alias bp='python2 /path/to/pan.baidu.com.py')
#### :
```
bp g
bp login
bp login username
bp login username password
#
# bp login
```
#### :
```
bp ud
```
#### :
```
bp uc
```
#### :
```
bp user
```
####
```
bp cwd
```
####
```
bp cd # /
bp cd path # ./../...
bp cd ..
bp cd ../../Music
bp cd ...
```
#### :
```
##
wiki -t fs
# ()
bp d . -R
# **
bp d http://pan.baidu.com/disk/home#dir/path=/path/to/filename1 http://pan.baidu.com/disk/home#dir/path=/path/to/filename2
# or
bp d /path/to/filename1 /path/to/filename2
# **
bp d -R http://pan.baidu.com/disk/home#dir/path=/path/to/directory1 http://pan.baidu.com/disk/home#dir/path=/path/to/directory2
# or
bp d -R /path/to/directory1 /path/to/directory2
# .mp3
bp d -R /path/to/directory1 /path/to/directory2 -T .mp3
#
bp d relative_path/to/directory1 /path/to/directory2
# **
bp d http://pan.baidu.com/s/1o6psfnxx
bp d 'http://pan.baidu.com/share/link?shareid=1622654699&uk=1026372002&fid=2112674284'
# **-s
bp d http://pan.baidu.com/s/1i3FVlw5 -s vuej
# aria2
bp d http://pan.baidu.com/s/1i3FVlw5 -s vuej -a 5
bp d /movie/her.mkv -a 4
bp d url -s [secret] -a 10
#
## aes-256-cfb
bp d /path/to/encrypted_file -t dc [-P password] # ()
bp d /path/to/encrypted_file -t dc,no [-P password] #
##
bp d /path/to/encrypted_file -t dc [-P password] -m 'rc4-md5'
bp d /path/to/directory -t dc [-P password] -m 'rc4-md5'
```
#### :
```
bp dc /local/to/encrypted_file [-P password] -m 'aes-256-cfb'
bp dc /local/to/encrypted_file [-P password]
bp dc /local/to/directory [-P password]
```
#### :
```
bp p /movie/her.mkv
bp p http://pan.baidu.com/s/xxxxxxxxx -s [secret]
bp cd /movie
bp p movie -R # /movie
# (m3u8)
-t m3
.
(720P,1280P),480P.
```
#### :
```
bp a http://mirrors.kernel.org/archlinux/iso/latest/archlinux-2014.06.01-dual.iso /path/to/save
bp a https://github.com/PeterDing/iScript/archive/master.zip /path/to/save
bp a ftp://ftp.netscape.com/testfile /path/to/save
bp a 'magnet:?xt=urn:btih:64b7700828fd44b37c0c045091939a2c0258ddc2' /path/to/save -v -t a
bp a 'ed2k://|file|[]PDF.rar|547821118|D09FC5F70DEA63E585A74FBDFBD7598F|/' /path/to/save
bp a /path/to/a.torrent -v -t m,i # torrent/path/to
# ------------------
torrent
```
#### magnet -- :
```
-t m # (), : mkv, avi ..etc
-t i # , : jpg, png ..etc
-t d # , : pdf, doc, docx, epub, mobi ..etc
-t p # , : rar, zip ..etc
-t a #
m, i, d, p, a (,), : -t m,i,d -t d,p -t i,p
remotepath /
bp a 'magnet:?xt=urn:btih:64b7700828fd44b37c0c045091939a2c0258ddc2' /path/to/save -v -t p,d
bp a /download/a.torrent -v -t m,i,d # torrent/download
```
#### :
```
bp j
bp j 3482938 8302833
bp jd
bp jc taskid1 taskid2
bp jc 1208382 58239221
bp jca
```
#### : ( -R)
```
#
bp u ~/Documents/* #
bp u ~/Documents/* -t f #
bp u ~/Documents/* -t d #
bp u ~/Documents/* -t f,d #
bp u ~/Documents/reading/\ by\ .mobi /doc -m o
# :
# -m o -->
# -m c --> ()
# -R
bp u ~/Videos/*.mkv /videos -t r
# rapidupload
bp u ~/Documents ~/Videos ~/Documents /backup -t e -R
# (md5)
# -t e , -m o
bp u ~/Documents ~/Videos ~/Documents /backup -t r,e #
```
#### : ( -R)
```
bp u ~/{p1,p2,p3} -t ec [-P password] # 'aes-256-cfb'
bp u ~/{p1,p2,p3} -t ec [-P password] -m 'rc4-md5'
# :
# encrypted_
# -t ec,np
```
#### :
```
bp s url remotepath [-s secret]
# url, : http://pan.baidu.com/share/link?shareid=xxxxxxx&uk=xxxxxxx, http://pan.baidu.com/s/xxxxxxxx
bp s 'http://pan.baidu.com/share/link?shareid=xxxxxxx&uk=xxxxxxx' /path/to/save
bp s http://pan.baidu.com/s/xxxxxxxx /path/to/save
bp s http://pan.baidu.com/s/xxxxxxxx /path/to/save -s xxxx
bp s http://pan.baidu.com/s/xxxxxxxx#dir/path=/path/to/anything /path/to/save -s xxxx
bp s http://pan.baidu.com/inbox/i/xxxxxxxx /path/to/save
# -t c ()
bp s 'http://pan.baidu.com/share/link?shareid=2705944270&uk=708312363' /path/to/save -t c
#
```
#### :
```
# cwd
bp f keyword1 keyword2
bp f "this is one keyword" "this is another keyword" /path/to/search
bp f ooxx -R
bp f /doc/fiction -R
bp f /doc -R
bp ff keyword1 keyword2 /path/to/music
bp ft keyword1 keyword2 /path/to/doc by time
bp ftt keyword1 keyword2 /path/to/other by time
bp fs keyword1 keyword2 by size
bp fss keyword1 keyword2 by size
bp fn keyword1 keyword2 by name
bp fnn keyword1 keyword2 by name
# -R
# -H, -T, -I, -E
bp f mp3 /path/to/search -H "[" "01" -T ".tmp" -I ".*-.*" -R
#
bp f iDoNotKnow [directory] -t all -R
bp f archlinux ubuntu [directory] -t f,all -T .iso -R
# ( donwload, play, rnre, rm, mv)
bp f bioloy \| d -R
bp ftt ooxx \| p -R -t f (by time )
bp f sound \| rnr mp3 mp4 -R rename by regex
bp f ccav \| rm -R -T avi
bp f \| mv /Favor -R
```
#### bt.pybase64:
```
rnr /ooxx -t f,bd64
!! /ooxx base64.base64
# by.py
```
ls:
[](#cmd)
#### 4. :
> https://gist.github.com/HououinRedflag/6191023
> https://github.com/banbanchs/pan-baidu-download/blob/master/bddown_core.py
> https://github.com/houtianze/bypy
---
### bt.py - magnet torrent ..
#### 1.
```
python2-requests (https://github.com/kennethreitz/requests)
bencode (https://github.com/bittorrent/bencode)
```
#### 2.
magnet torrent
.. baidu, xunlei
1. shadowsocks + proxychains
2. -p protocol://ip:port
~~8.30 http://tieba.baidu.com/p/3265467666~~
[****](http://fuli.ba/baiduyunhuifuguankan.html)
**!! torrent -n **
```
http://bt.box.n0808.com
http://btcache.me
http://www.sobt.org # 302 --> http://www.win8down.com/url.php?hash=
http://www.31bt.com
http://178.73.198.210
http://www.btspread.com # link to http://btcache.me
http://torcache.net
http://zoink.it
http://torrage.com # torrage.com, eg: -p 127.0.0.1:8087
http://torrentproject.se
http://istoretor.com
http://torrentbox.sx
http://www.torrenthound.com
http://www.silvertorrent.org
http://magnet.vuze.com
```
issue
> baidu,
#### :
```
# magnet 2 torrent
m mt magnet_link1 magnet_link2 [-d /path/to/save]
m -i /there/are/files -d new
# torrent 2 magnet, magnet
t tm path1 path2
# ..
# 2
# -t n ()
# -t be64 base64torrent pan.baidu.com.py rnr /path -t f,bd64
c ct magnet_link1 magnet_link2 /path/to/torrent1 /path/to/torrent2 [-d /path/to/save]
c -i /there/are/files and_other_dir -d new # magnet
# .. - magnettorrent torrent
# /path/to/save .
# base64:
c magnet_link1 magnet_link2 /path/to/torrent1 /path/to/torrent2 [-d /path/to/save] -t be64
# ..
cr ctre foo bar magnet_link1 /path/to/torrent1 [-d /path/to/save]
# foo bar regex
```
#### :
```
-p PROXY, --proxy PROXY proxy for torrage.com, eg: -p "sooks5://127.0.0.1:8883"
-t TYPE_, --type_ TYPE_
-t n ()
-t be64 base64torrent pan.baidu.com.py rnr /path -t f,bd64
-d DIRECTORY, --directory DIRECTORY torrents, eg: -d /path/to/save
-n NAME, --name NAME , eg: -m thistopdirectory
-i localpath1 localpath2, --import_from localpath1 localpath2 magnet ()
```
#### 3.
bt bt.py (alias bt='python2 /path/to/bt.py')
```
bt mt magnet_link1 magnet_link2 [-d /path/to/save]
bt tm path1 path2
bt ct magnet_link1 path1 [-d /path/to/save]
bt m magnet_link1 magnet_link2 [-d /path/to/save]
bt t path1 path2
bt c magnet_link1 path1 [-d /path/to/save]
# torrage.com
bt m magnet_link1 path1 -p 127.0.0.1:8087
bt c magnet_link1 path1 -p 127.0.0.1:8087
# magnet
bt c -i ~/Downloads -d new
# ..
bt cr '.*(old).*' '\1' magnet_link
bt cr 'old.iso' 'new.iso' /path/to/torrent
# base64:
bt c magnet_link -t be64
```
#### 4. :
> http://blog.chinaunix.net/uid-28450123-id-4051635.html
> http://en.wikipedia.org/wiki/Torrent_file
---
### 115.py - 115
#### 1.
```
wget
aria2 (~ 1.18)
python2-requests (https://github.com/kennethreitz/requests)
mpv (http://mpv.io)
mplayer # linuxmpvwmvmplayer
```
#### 2.
pan115 login
**115**
wget, -aaria2
**vipvip1aria2**
(wget)-p
**vip vip**
cookies ~/.115.cookies
:
> 1Enter2Enter
#### :
```
-a, --aria2c download with aria2c
-p, --play play with mpv
-f number, --from_ number eg: -f 42
-t ext, --type_ ext eg: -t mp3
-l amount, --limit amount eg: -l 100k
-d "url" "http/ftp/magnet/ed2k"
```
#### 3.
pan115 115.py (alias pan115='python2 /path/to/115.py')
```
#
pan115 g
pan115 login
pan115 login username
pan115 login username password
#
pan115 signout
# **
pan115 http://115.com/?cid=xxxxxxxxxxxx&offset=0&mode=wangpan
# ** -- 115pdf
pan115 http://wenku.115.com/preview/?pickcode=xxxxxxxxxxxx
# aria2, url
pan115 -a url
#
pan115 -d "magnet:?xt=urn:btih:757fc565c56462b28b4f9c86b21ac753500eb2a7&dn=archlinux-2014.04.01-dual.iso"
```
####
```
# url
pan115 -p url
```
#### 4. :
> http://passport.115.com/static/wap/js/common.js?v=1.6.39
---
### yunpan.360.cn.py - 360
****
#### 1.
```
wget
aria2 (~ 1.18)
python2-requests (https://github.com/kennethreitz/requests)
```
#### 2.
yp login
**!!!!!! 360 !!!!!!**
\*\*
wget, -aaria2
cookies ~/.360.cookies
#### :
```
-a, --aria2c download with aria2c
-f number, --from_ number eg: -f 42
-t ext, --type_ ext eg: -t mp3
-l amount, --limit amount eg: -l 100k
```
#### 3.
yp yunpan.360.cn.py (alias yp='python2 /path/to/yunpan.360.cn.py')
```
#
yp g
yp login
yp login username
yp login username password
#
yp signout
# **
yp http://c17.yunpan.360.cn/my/?sid=#/path/to/directory
yp http://c17.yunpan.360.cn/my/?sid=#%2Fpath%3D%2Fpath%2Fto%2Fdirectory
# or
yp sid=/path/to/directory
yp sid%3D%2Fpath%2Fto%2Fdirectory
# aria2, url
yp -a url
```
#### 4. :
> https://github.com/Shu-Ji/gorthon/blob/master/_3rdapp/CloudDisk360/main.py
---
### music.baidu.com.py - (music.baidu.com)
#### 1.
```
wget
python2-mutagen (https://code.google.com/p/mutagen/)
mpv (http://mpv.io)
```
#### 2.
-p
####
```
-f, --flac download flac
-i, --high download 320, default
-l, --low download 128
-p, --play play with mpv
```
MP3id3 tags
:
> 1Enter2Enter
#### 3.
bm music.baidu.com.py (alias bm='python2 /path/to/music.baidu.com.py')
```
#
bm http://music.baidu.com/album/115032005
#
bm http://music.baidu.com/song/117948039
```
#### :
```
# url
bm -p url
```
#### 4. :
> http://v2ex.com/t/77685 # 9
---
### music.163.com.py - (music.163.com)
#### 1.
```
wget
python2-requests (https://github.com/kennethreitz/requests)
python2-mutagen (https://code.google.com/p/mutagen/)
mpv (http://mpv.io)
```
#### 2.
****
-p
MP3id3 tags
:
> 1Enter2Enter
#### 3.
nm music.163.com.py (alias nm='python2 /path/to/music.163.com.py')
```
#
nm http://music.163.com/#/album?id=18915
#
nm http://music.163.com/#/song?id=186114
#
nm http://music.163.com/#/playlist?id=12214308
# Top 50
nm http://music.163.com/#/artist?id=6452
# DJ
nm http://music.163.com/#/dj?id=675051
#
nm http://music.163.com/#/discover/toplist?id=11641012
```
#### :
```
# url
nm -p url
```
#### 4. :
> https://github.com/yanunon/NeteaseCloudMusic/wiki/%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90API%E5%88%86%E6%9E%90
> http://s3.music.126.net/s/2/core.js
---
### flv_cmd.py - client -
****
** youtube-dl or you-get**
#### 1.
```
wget
python2-requests (https://github.com/kennethreitz/requests)
mpv (http://mpv.io)
```
#### 2.
~~flvxz.com ~~
flvgo.com
****
#### :
http://flvgo.com/sites
:
> 1Enter2Enter
#### 3.
flflv_cmd.py (alias fl='python2 /path/to/flv_cmd.py')
#### :
```
fl http://v.youku.com/v_show/id_XNTI2Mzg4NjAw.html
fl http://www.tudou.com/albumplay/Lqfme5hSolM/tJ_Gl3POz7Y.html
```
#### :
```
# url
fl url -p
```
#### 4. :
> https://github.com/soimort/you-get
> https://github.com/iambus/youku-lixian
> https://github.com/rg3/youtube-dl
---
### tumblr.py - tumblr.com
#### 1.
```
wget
mpv (http://mpv.io)
python2-requests (https://github.com/kennethreitz/requests)
```
#### 2.
* http://www.tumblr.com/oauth/apps appapi_key
* http://www.tumblr.com/docs/en/api/v2 api_key ( fuiKNFp9vQFvjLNvx4sUwti4Yb5yGutBN4Xh10LXZhhRKjWlV4 )
10-p [num]
()
json.json
** Ctrl-C**
** tumblr --update URL, json.json**
#### :
```
-p PROCESSES, --processes PROCESSES ,10,20 eg: -p 20
-c, --check
-t TAG, --tag TAG tag, eg: -t beautiful
-P, --play play with mpv
-A, --audio download audios
-V, --video download videos
-q, --quiet quiet
--update
--redownload
-f OFFSET, --offset OFFSET offset -V
```
#### 3.
tmtumblr.py (alias tm='python2 /path/to/tumblr.py')
```
#
tm http://sosuperawesome.tumblr.com
tm http://sosuperawesome.tumblr.com -t beautiful
#
tm http://sosuperawesome.tumblr.com/post/121467716523/murosvur-on-etsy
#
tm url -V
tm url -V -f 42
tm url -V -t tag
#
tm url/post/1234567890 -V
#
tm url -VP
tm url -VP -f 42
#
tm url -A
tm url -A -f 42
tm url -A -t tag
#
tm url/post/1234567890 -A
#
tm url -AP
tm url -AP -f 42
# (quiet)
tm url -APq
```
---
### unzip.py - linuxunzip
####
```
python2 unzip.py azipfile1.zip azipfile2.zip
python2 unzip.py azipfile.zip -s secret
# -s
```
> http://wangqige.com/the-solution-of-unzip-files-which-zip-under-windows/Linuxzip
---
### ed2k_search.py - donkey4u.com emule
#### 1.
```
python2
```
#### 2.
ed ed2k_search.py (alias ed='python2 /path/to/ed2k_search.py')
```
ed this is a keyword
or
ed "this is a keyword"
```
---
### 91porn.py - 91porn
**: 18**
#### 1.
```
wget
aria2 (~ 1.18)
python2-requests (https://github.com/kennethreitz/requests)
mpv (http://mpv.io)
```
#### 2.
> youtube-dl 91porn
ip *10/day*
wget, -aaria2
-p
:
> 1Enter2Enter
#### 3.
pn 91porn.py (alias pn='python2 /path/to/91porn.py')
####
```
pn url # 91porn.com() url
```
#### :
```
pn -p url
```
:
```
pn -u url
```
#### 4.
> http://v2ex.com/t/110196 # 16
---
### ThunderLixianExporter.user.js - A fork of https://github.com/binux/ThunderLixianExporter
**github.com/binuxfork**
mpvmplayer
: https://github.com/binux/ThunderLixianExporter