Comments (8)
@Will-Liu88 dlink
是什么样的,发个来看看
from iscript.
https://d.pcs.baidu.com/file/461548d33eaf0ff9b572da96461c254a?fid=4225848242-250528-818305021191962&rt=pr&sign=FDtAERVCY-DCb740ccc5511e5e8fedcff06b081203-vScl%2FBA7RqowlN%2BjqiMSd3zetzA%3D&expires=8h&chkv=1&chkbd=1&chkpc=et&dp-logid=1957558929609295626&dp-callid=0&dstime=1553564475&r=809089518&vip=0
这是浏览器端点下载文件时产生的dlink 文件下载链接,以前能下载 现在貌似不能了。@PeterDing
from iscript.
@Will-Liu88
dlink
是什么样的,发个来看看
现在是如何还能下载文件么?
from iscript.
@Will-Liu88 这个链接以前也不能下的。
但是这种直接从浏览器获得的链接是可以直接用下载工具下载的,不需要交给 pan.baidu.com.py 下载。
用任何一个下载工具下载都行,如果你想分段加速下载,可以试试 aget 或者 aget-rs。
from iscript.
@Will-Liu88 这个链接以前也不能下的。
但是这种直接从浏览器获得的链接是可以直接用下载工具下载的,不需要交给 pan.baidu.com.py 下载。
这种也不能用下载工具下吧,你的脚本 是如何获取到下载链接的我看了下也是dlink 不是从浏览器获取到的?
from iscript.
@Will-Liu88 百度网盘有获取文件的api,使用时要带上cookies,发起请求后就会跳转到你上面的链接。
跳转后的链接不需要带cookies,所以可以用下载工具下载。
Line 761 in 90b786d
from iscript.
@Will-Liu88 百度网盘有获取文件的api,使用时要带上cookies,发起请求后就会跳转到你上面的链接。
跳转后的链接不需要带cookies,所以可以用下载工具下载。Line 761 in 90b786d
dlink = ('http://d.pcs.baidu.com/rest/2.0/pcs/file?method=download'
获取文件api请求下载不稳定,部分rar,大文件不能下载,这 是服务器问题?
from iscript.
@Will-Liu88 百度网盘有获取文件的api,使用时要带上cookies,发起请求后就会跳转到你上面的链接。
跳转后的链接不需要带cookies,所以可以用下载工具下载。
iScript/pan.baidu.com.py
Line 761 in 90b786d
dlink = ('http://d.pcs.baidu.com/rest/2.0/pcs/file?method=download'获取文件api请求下载不稳定,部分rar,大文件不能下载,这 是服务器问题?
这是另外的问题,你可以重新开一个 issue.
from iscript.
Related Issues (20)
- windows10 No module named requests HOT 1
- 你好,转存好像不行了。 HOT 2
- 转存有时候提示:提取密码错误 HOT 17
- 大于100M 以上zip ,rar大文件,exe文件无法下载问题,修改user-agent为百度网盘无法下载
- LeetCode 代码失效了 HOT 1
- 下载别人分享的文件,提示“”!! 没有下载权限!, 请转存网盘后,从网盘地址下载“” HOT 1
- 网盘下载希望增加 指定 下载目录功能
- 网盘下载 有50% 几率下载不成功 HOT 5
- 指定
- get_share_list 接口访问出错了 HOT 7
- 已install aget 提示未找到 是不是要设置软链接 HOT 1
- !! no account is online, please login or userchange HOT 10
- _get_share_list HOT 1
- 百度网盘分享时报 _get_bdstoken 失败,百度调整api接口了?
- 直接git clone过来,执行任何参数都会提示格式错误(行数507) HOT 3
- get share infos 错误了 HOT 1
- bash: bp: command not found HOT 1
- 关于在py3下运行报错的问题,给大家提供部分解决方案
- 👌
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iscript.