-
-
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
add support for muse.ai #7543
Comments
The example you provided won't do as it's encrypted. |
Where did you get that link from? I have rather minimal skills at traffic analysis (meaning looking at things in a browser's Developer Tools window). I didn't see that. The (.mpd) link I provided works fine (for me) in yt-dlp.
I just tried the embed link again, and it also opens fine for me. Maybe a geographic restriction exists that I don't know about (I have a United States IP address). Of note also (looking at the Network tab of Developer Tools), the traffic shows links to the complete files (which I can download with wget, for example), even though the browser keeps returning status 206 (partial content): |
It must be geo-protected, I guess. That being said though. The video thumbnail is https://cdn-eu.muse.ai/u/JdsD4tX/04a549c2aa68bdc90d9c6fe59913aa09d40404b9abfbc3a77a338426ec3590d0/thumbnails/video.jpg |
This comment was marked as resolved.
This comment was marked as resolved.
Here's what I put together. But I'm stuck between a rock and a hard place.
|
@pukkandan It turned out to be Firefox related. Not a geo block. |
I took another look at this project. The website seem to block access to user agents that aren't Chrome based browsers. So I tried using recent Chrome user-agent. Still no luck grabbing the thumbnail url. |
No indication existed of any geogragphical blocking (the site basically hosts videos for customers, and news sites generally want their content available everywhere).
I have even more limited programming skills, but I have to ask if downloading the files in one piece (from the .mpd file) uses fewer resources (and reduces complexity) compared to downloading "streamed" (hls) versions.
Even the very short (non-javascript) version of the web page has this as part of the (non-executed, obviously) script:
That snippet appears to contain all of the information needed (user id and video id) to download the video and audio files. Also, this looks like another form of the video (although that page contains other videos, which makes extracting the correct video information slightly trickier): |
@bashonly Great work as always, man! |
Closes yt-dlp#7543 Authored by: bashonly
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
global
Example URLs
https://muse.ai/embed/YdTWvUW
Provide a description that is worded well enough to be understood
Above link returns "Unsupported URL", but digging through the source (and network traffic with javascript enabled) returns the following .mpd file (which yt-dlp can download without any difficulty):
https://cdn-eu.muse.ai/u/JdsD4tX/04a549c2aa68bdc90d9c6fe59913aa09d40404b9abfbc3a77a338426ec3590d0/videos/dash.mpd
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: