Skip to content

Instantly share code, notes, and snippets.

View tedyyu's full-sized avatar

Tedy tedyyu

  • Shanghai
View GitHub Profile
@tedyyu
tedyyu / gist:711c45fa3b2dcf478945e01d16580184
Created June 1, 2021 07:07
实战如何让百度网盘突破下载速度
View gist:711c45fa3b2dcf478945e01d16580184
谁家宽带不是一两百兆(bit/s),百度网盘故意限速30KB/s甚至更低,还时不时下载失败,干扰正常使用。花钱开通他家超级会员才是家里带宽下正常下载速度(十来兆每秒)!How Evil!
百度网盘Mac应用里普通用户下载速度
作为一个技术宅,怎么可以坐得住呢?于是Chrome+开发者模式看了一圈,看得到一些verify账号密码的HTTP请求响应,但由于streaming和下载还是不一样的,服务端和客户端js里的协同处理过于复杂,搞的没有脾气,放弃。
后来跳出框框,想到专门负责下载的百度网盘应用会不会简单点,Next show me the way~
下载Wireshark,侦听一会数据包,一堆TCP收发,首先得找到当前下载源的百度服务器IP(会有多个,每次都需要自己挖),这个有很多办法,我偷懒在mac的活动管理器里找到“百度网盘”,在其打开的文件和端口tab里,会展示这么一行:
192.168.3.39:55191->117.34.84.21:http
View gist:77a2fff1696d5fd30eb04eb154fe02b9
AxImp Error: API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
If you met this, check the path specified in /rcw: is an absolute file path instead of relative one, e.g.
cd c:\code\app
aximp.exe ..\bin\rtsxdlg.dll /rcw:C:\code\bin\Interop.MyOcx.dll /out:..\bin\AxInterop.MyOcx.dll /keyfile:mykey.snk /ignoreregisteredocx /verbose
will work,
compared to the following