-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DouyuTV live - HTTP error 403 Forbidden #7295
Comments
This comment was marked as resolved.
This comment was marked as resolved.
f'http://www.douyutv.com/api/v1/room/{room_id}', video_id, video_url = urljoin('https://openhls-tct.douyucdn2.cn/', self._search_regex(r'(live/.*)', room['hls_url'], 'URL')) Only changed here because hls3-akm cannot be used in China |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
Douyu now extracts the live source link and cannot directly use "http://openhls-tct.douyucdn2.cn/dyliveflv1/252140rz7aIq14cx_1024p.flv" must bring txSecret=fea7f993f949de8fae88a25f6a31ca55&txTime=6489e855 Because Douyu now has all the short link formats invalid |
I've ported a solution from https://github.com/WhiteMinds/DouYuRecorder/, and added PhantomJs to the extractor to get authenticated on the new API: yt-dlp/yt_dlp/extractor/douyutv.py Lines 113 to 116 in 613dbce
This video_url in the current master branch appears to be no longer working. Do we know if this might work in some cases or should we just get rid of these?
Also, when I was testing the patch using One way I figured out is to use Streamlink without Is there any plan that future yt-dlp will have some concurrency for m3u8 livestream (perhaps a native m3u8 downloader for live stream, since I don't feel ffmpeg was designed for live stream)? This can be important in a situation like this. Add: DouyuShow appears to be broken as well |
@c-basalt See the patch here: #6074 (comment) |
The patch from May 11th gives new m3u8 links like this: However, it seems those openhls-tct.douyucdn2.cn links are also giving me HTTP 403. I wonder if something has changed on the server side after that. |
Closes yt-dlp#2494, Closes yt-dlp#7295 Authored by: c-basalt
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
No response
Provide a description that is worded well enough to be understood
Douyu's live link is invalid
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: