Code Monkey home page Code Monkey logo

Comments (8)

PeterDing avatar PeterDing commented on June 2, 2024

@Will-Liu88 dlink 是什么样的,发个来看看

from iscript.

 avatar commented on June 2, 2024

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.

 avatar commented on June 2, 2024

@Will-Liu88 dlink 是什么样的,发个来看看

现在是如何还能下载文件么?

from iscript.

PeterDing avatar PeterDing commented on June 2, 2024

@Will-Liu88 这个链接以前也不能下的。

但是这种直接从浏览器获得的链接是可以直接用下载工具下载的,不需要交给 pan.baidu.com.py 下载。

用任何一个下载工具下载都行,如果你想分段加速下载,可以试试 aget 或者 aget-rs

from iscript.

 avatar commented on June 2, 2024

@Will-Liu88 这个链接以前也不能下的。

但是这种直接从浏览器获得的链接是可以直接用下载工具下载的,不需要交给 pan.baidu.com.py 下载。

用任何一个下载工具下载都行,如果你想分段加速下载,可以试试 aget 或者 aget-rs

这种也不能用下载工具下吧,你的脚本 是如何获取到下载链接的我看了下也是dlink 不是从浏览器获取到的?

from iscript.

PeterDing avatar PeterDing commented on June 2, 2024

@Will-Liu88 百度网盘有获取文件的api,使用时要带上cookies,发起请求后就会跳转到你上面的链接。
跳转后的链接不需要带cookies,所以可以用下载工具下载。

dlink = ('http://d.pcs.baidu.com/rest/2.0/pcs/file?method=download'

from iscript.

 avatar commented on June 2, 2024

@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,大文件不能下载,这 是服务器问题?

from iscript.

PeterDing avatar PeterDing commented on June 2, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.