sdvcrx / pan-baidu-download

百度网盘下载脚本
MIT License
435 stars 103 forks source link

Download erroring #47

Open clecocel opened 6 years ago

clecocel commented 6 years ago

Hi, please find the output I get when trying to download a file. Not sure why I get this "authorization failed" message.

Thanks!

python bddown_cli.py download https://pan.baidu.com/s/1mjfSJLu
Please input this sharing password
lj07
Saved verification code to  /Users/clement/Documents/pan-baidu-download
Please input the captcha:
23AU
Saved verification code to  /Users/clement/Documents/pan-baidu-download
Please input the captcha:
MAV6
SCUT-FBP5500.rar
aria2c -c -d "" -o "SCUT-FBP5500.rar" -s10 -x10 --user-agent="netdisk;5.2.6;PC;PC-Windows;6.2.9200;WindowsBaiduYunGuanJia" --header "Referer:http://pan.baidu.com/disk/home"    "http://d.pcs.baidu.com/file/747e86bc9d6eb0732c4ccbc48455aad4?fid=2265545530-250528-380757416150922&time=1517446189&rt=sh&sign=FDTAERV-DCb740ccc5511e5e8fedcff06b081203-1a4dfGcLWaqCAi94rPYvmVrZTLk%3D&expires=8h&chkv=1&chkbd=0&chkpc=&dp-logid=727510986809062426&dp-callid=0&r=709641727"

01/31 16:49:49 [NOTICE] Downloading 1 item(s)

01/31 16:49:50 [NOTICE] CUID#7 - Redirecting to http://d7.baidupcs.com/file/747e86bc9d6eb0732c4ccbc48455aad4?bkt=p3-0000e889fbaf5ebf5e5ba46245148d71d197&xcode=f5df707201ba75ab6e42bed4259c5169a43d59d45bc3a0e32e905b3767d006213a33b46dea161e24963a771c85177fa19717ec4418c70769&fid=2265545530-250528-380757416150922&time=1517446189&sign=FDTAXGERLQBHSKa-DCb740ccc5511e5e8fedcff06b081203-zrce3z1dNFy8r2QjD3WBT8EnY%2BE%3D&to=d7&size=174989589&sta_dx=174989589&sta_cs=71&sta_ft=rar&sta_ct=3&sta_mt=3&fm2=MH%2CYangquan%2CAnywhere%2C%2Ccalifornia%2Cany&vuk=282335&iv=0&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=0000e889fbaf5ebf5e5ba46245148d71d197&sl=83034191&expires=8h&rt=sh&r=709641727&mlogid=727510986809062426&vbdid=-&fin=SCUT-FBP5500.rar&rtype=1&dp-logid=727510986809062426&dp-callid=0.1.1&tsl=300&csl=300&csign=jxOBRm%2B9AOkpJPmKw2etyaLT0P0%3D&so=1&ut=6&uter=-1&serv=0&uc=2684902746&ic=2676319999&ti=7feef675d20449a07bd44e91c768a074b6e4131f7382f943&by=themis
[#2a60da 0B/0B CN:1 DL:0B]                                                                                            
01/31 16:49:51 [NOTICE] CUID#7 - Redirecting to http://220.165.142.153/d7.baidupcs.com/file/747e86bc9d6eb0732c4ccbc48455aad4?bkt=p3-0000e889fbaf5ebf5e5ba46245148d71d197&xcode=f5df707201ba75ab6e42bed4259c5169a43d59d45bc3a0e32e905b3767d006213a33b46dea161e24963a771c85177fa19717ec4418c70769&fid=2265545530-250528-380757416150922&time=1517446189&sign=FDTAXGERLQBHSKa-DCb740ccc5511e5e8fedcff06b081203-zrce3z1dNFy8r2QjD3WBT8EnY%2BE%3D&to=d7&size=174989589&sta_dx=174989589&sta_cs=71&sta_ft=rar&sta_ct=3&sta_mt=3&fm2=MH%2CYangquan%2CAnywhere%2C%2Ccalifornia%2Cany&vuk=282335&iv=0&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=0000e889fbaf5ebf5e5ba46245148d71d197&sl=83034191&expires=8h&rt=sh&r=709641727&mlogid=727510986809062426&vbdid=-&fin=SCUT-FBP5500.rar&rtype=1&dp-logid=727510986809062426&dp-callid=0.1.1&tsl=300&csl=300&csign=jxOBRm%2B9AOkpJPmKw2etyaLT0P0%3D&so=1&ut=6&uter=-1&serv=0&uc=2684902746&ic=2676319999&ti=7feef675d20449a07bd44e91c768a074b6e4131f7382f943&by=themis&wshc_tag=0&wsts_tag=5a72642f&wsid_tag=c7c0571a&wsiphost=ipdbm
[#2a60da 0B/0B CN:1 DL:0B]                                                                                            
01/31 16:49:53 [ERROR] CUID#7 - Download aborted. URI=http://d.pcs.baidu.com/file/747e86bc9d6eb0732c4ccbc48455aad4?fid=2265545530-250528-380757416150922&time=1517446189&rt=sh&sign=FDTAERV-DCb740ccc5511e5e8fedcff06b081203-1a4dfGcLWaqCAi94rPYvmVrZTLk%3D&expires=8h&chkv=1&chkbd=0&chkpc=&dp-logid=727510986809062426&dp-callid=0&r=709641727
Exception: [AbstractCommand.cc:351] errorCode=24 URI=http://220.165.142.153/d7.baidupcs.com/file/747e86bc9d6eb0732c4ccbc48455aad4?bkt=p3-0000e889fbaf5ebf5e5ba46245148d71d197&xcode=f5df707201ba75ab6e42bed4259c5169a43d59d45bc3a0e32e905b3767d006213a33b46dea161e24963a771c85177fa19717ec4418c70769&fid=2265545530-250528-380757416150922&time=1517446189&sign=FDTAXGERLQBHSKa-DCb740ccc5511e5e8fedcff06b081203-zrce3z1dNFy8r2QjD3WBT8EnY%2BE%3D&to=d7&size=174989589&sta_dx=174989589&sta_cs=71&sta_ft=rar&sta_ct=3&sta_mt=3&fm2=MH%2CYangquan%2CAnywhere%2C%2Ccalifornia%2Cany&vuk=282335&iv=0&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=0000e889fbaf5ebf5e5ba46245148d71d197&sl=83034191&expires=8h&rt=sh&r=709641727&mlogid=727510986809062426&vbdid=-&fin=SCUT-FBP5500.rar&rtype=1&dp-logid=727510986809062426&dp-callid=0.1.1&tsl=300&csl=300&csign=jxOBRm%2B9AOkpJPmKw2etyaLT0P0%3D&so=1&ut=6&uter=-1&serv=0&uc=2684902746&ic=2676319999&ti=7feef675d20449a07bd44e91c768a074b6e4131f7382f943&by=themis&wshc_tag=0&wsts_tag=5a72642f&wsid_tag=c7c0571a&wsiphost=ipdbm
  -> [HttpSkipResponseCommand.cc:215] errorCode=24 Authorization failed.

01/31 16:49:53 [NOTICE] Download GID#2a60da5f51e39bb1 not complete: ./SCUT-FBP5500.rar

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
2a60da|ERR |       0B/s|./SCUT-FBP5500.rar
ttimasdf commented 6 years ago

Duplicate issues #45 #46 just wait for update or manually add BDUSS cookies to aria2c command line.

aelmahmoudy commented 5 years ago

@ttimasdf how to add BDUSS cookie to aria2c ?