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
Vimeo On Demand download not working (I get the trailer) #12346
Comments
This problem still persists. Is there anything that can be done to aide fixing this bug? |
Provide credentials. |
Alright, I figured out the culprit. It is this piece of code beginning on line 559 in if is_rented():
feature_id = config.get('video', {}).get('vod', {}).get('feature_id')
if feature_id and not data.get('force_feature_id', False):
return self.url_result(smuggle_url(
'https://player.vimeo.com/player/%s' % feature_id,
{'force_feature_id': True}), 'Vimeo') I don't really know why it is there but it apparently does what it says on the tin. It forces the download of the feature, which in case of the original issuer seems to have been the trailer of his rented movie. Commenting out this piece of code allowed me to download all videos belonging to my rental. I'm sure there is (or at least was) a good reason to include this functionality so it might not be the best idea to remove it, but without delving deeper into the whole thing I cannot provide any better solution. |
I have the same error and I can confirm that commenting solves the problem. |
Same thing here, commenting the quoted snippet solve the problem. |
Not really sure about this, actually. Should only apply to a small subset of videos on Vimeo. |
I was able to build with code commented out (from above) and successfully get whole video. But I get: "WARNING: 237595117: malformed AAC bitstream detected. Install ffmpeg or avconv to fix this automatically." I've downloaded and built ffmpeg but can't find any actual instructions on how to fix the AAC bitstream that youtube-dl complains about. Suggestions? |
@fmorelli i think this is the command that would have been run https://github.com/rg3/youtube-dl/blob/d2ae7e24e5c574fa45621771a134e58b21443e5f/youtube_dl/postprocessor/ffmpeg.py#L538 otherwise i guess you could just redownload with youtubedl now when ffmpeg is available? |
I'm also running into the same issue with a purchased movie: https://vimeo.com/ondemand/ironskythecomingrace/333753177
Short-circuiting the If I log in via Chrome and view the network requests (as outlined in #15549), open the JSON config, and extract the m3u8 url, then I can download the movie without a problem. I noticed also that, unsurprisingly, curling the URL (without authentication) gives an m3u8 url to the trailer rather than the full video:
I suspect that the |
Try to change suffix of url master.json?base64_init=1 into master.mpd. Have a look at akamai documentation. |
Hello, I am new to this topic and still learning. I have no prior programming or coding knowledge and am wondering whether I could a foolproof step by step explanation or guide or reference from some nice professional here? Cheers! |
@luvarpt made it work, although i think having YTDL cover it by itself would help the beginners. |
This issue still seems to be present in the current master branch. Trying to download purchased videos from vimeo only gets the trailer. Running youtube-dl with the Also the config fetched here contains several URL's to different formats which all seem to link to the trailer too. Why is it not defaulting to downloading the video? This does not make any sense to me.. |
Probably no developer has ever seen one of these purchased videos and so can't reproduce the issue. If it were made to work, then we face the problem of preserving functionality that can't be tested automatically. |
The workaround @seren posted where you download the authenticated m3u8 file works for me. Basically open the browser dev tools, reload the page, look for a URL with |
What is the purpose of your issue?
I'm trying to download a rented On Demand video from Vimeo, but I get the trailer, not the full movie.
In the logs I see
WARNING: Unable to download JSON metadata: HTTP Error 403: Forbidden
, but if I try with a bad password then I getERROR: Wrong login info: HTTP Error 418
so the password is valid.I will have access to the movie for 24h, email me at first.last@gmail.com and I can provide account credentials.
The text was updated successfully, but these errors were encountered: