wbt5 / real-url

获取斗鱼&虎牙&哔哩哔哩&抖音&快手等 58 个直播平台的真实流媒体地址(直播源)和弹幕,直播源可在 PotPlayer、flv.js 等播放器中播放。
GNU General Public License v2.0
7.25k stars 1.53k forks source link

抖音获取直播流地址貌似不行了 #450

Open Hiflyce opened 11 months ago

Hiflyce commented 11 months ago

text = urllib.parse.unquote( re.findall('', response.text)[0]) 这块代码看起来获取不到了

youshandefeiyang commented 11 months ago

https://github.com/youshandefeiyang/LiveRedirect/blob/main/Golang/liveurls/douyin.go

shixiuhai commented 11 months ago

参考了上面这位大佬的我写了一版本python的https://github.com/shixiuhai/sxhCrawlerFree/blob/main/%E7%9B%B4%E6%92%AD/%E6%8A%96%E9%9F%B3/douyin_new.py

itsdrdick commented 10 months ago

参考了上面这位大佬的我写了一版本python的https://github.com/shixiuhai/sxhCrawlerFree/blob/main/%E7%9B%B4%E6%92%AD/%E6%8A%96%E9%9F%B3/douyin_new.py

加了sleep(3)然后多个页面同时请求,抖音貌似把我ip给ban了。。。还有什么办法解决吗?

shixiuhai commented 10 months ago

https://haiwaidaili.net/ 我一直使用的代理平台,在所有的requests上添加proxies代理

leocassitias commented 9 months ago

为啥我一打开就崩溃了,是因为Install有更改吗

shixiuhai commented 9 months ago

得具体错误具体分析,上面代码应该pip3 isntall requests就行,然后我这边使用版本都是python3.8以上