Skip to content
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 will download only 1st episode #10999

Open
rhazor opened this issue Oct 22, 2016 · 20 comments
Open

Vimeo will download only 1st episode #10999

rhazor opened this issue Oct 22, 2016 · 20 comments

Comments

@rhazor
Copy link

rhazor commented Oct 22, 2016

asd

@yan12125
Copy link
Collaborator

This label is for developers. A developer who is interested in this will ask for an account that can watch this video, most likely via emails.

@yan12125
Copy link
Collaborator

That's OK, too. Depends on what a developer who is interested in Vimeo prefers.

@Mayeu
Copy link

Mayeu commented Dec 30, 2016

I am also hitting this with this documentary and bonuses: https://vimeo.com/ondemand/minimalismfilm/175406176.

Every time I try to download a bonus video, the full movie is downloaded instead. (For an unknow reason, they allowed the download of the doc, but not the bonuses :( )

@cyian-1756
Copy link

I'm running into the same issue, did anyone ever find a solution?

@cyian-1756
Copy link

Turns out you can add --dump-pages to get the base64'd page (Before the redirect error loads the first video) and after debase64ing that page you can just ctrl f to get the link to the mp4

@rhazor rhazor changed the title Vimeo will download only 1st episode asd Mar 11, 2017
@rhazor rhazor closed this as completed Mar 11, 2017
@cyian-1756
Copy link

@rhazor, why'd you close the issue? The bug still exists.

@yan12125 yan12125 changed the title asd Vimeo will download only 1st episode Mar 12, 2017
@yan12125 yan12125 reopened this Mar 12, 2017
@TGeoF
Copy link

TGeoF commented Apr 9, 2017

I am running into this problem as well. In a Vimeo OnDemand playlist I am subscribed to, every video I select will "redirect" to the very first video in the playlist as soon as it passes the Extracting information stage and only download that first video. Can I post any specific output here to help narrow down the bug?

@ghost
Copy link

ghost commented Apr 21, 2017

Just ran into the same issue with Adrenalin (The BMW movie).
Had to do the workaround mentioned by cyian

@gregbaker
Copy link

gregbaker commented May 19, 2017

I just encountered the same problem. I was able to work-around by commending-out the if feature_id block (and thus preventing the short-circuit return) in VimeoIE._real_extract: https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/vimeo.py#L561-L564

With those lines gone, I could download one video at a time.

Edit: snippet has moved: https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/vimeo.py#L567-L570

@PotcFdk
Copy link

PotcFdk commented Jun 9, 2017

Same here; log:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-u', 'PRIVATE', 'https://vimeo.com/ondemand/lonelyandhorny/164733232', '-v']
Type account password and press [Return]:
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.06.05
[debug] Python version 3.4.4 - Windows-10-10.0.15063
[debug] exe versions: ffmpeg N-86383-g4705edb, ffprobe N-86383-g4705edb
[debug] Proxy map: {}
[vimeo:ondemand] lonelyandhorny: Downloading webpage
[vimeo] Logging in
[vimeo] 164733232: Downloading webpage
[vimeo] 164733232: Extracting information
[vimeo] 164637671: Downloading webpage
[vimeo] 164637671: Extracting information
[vimeo] 164637671: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 403: Forbidden
[vimeo] 164637671: Downloading fastly_skyfire m3u8 information
[vimeo] 164637671: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 164637671: Downloading fastly_skyfire MPD information
[vimeo] 164637671: Downloading fastly_skyfire MPD information
[vimeo] 164637671: Downloading akfire_interconnect_quic MPD information
[vimeo] 164637671: Downloading akfire_interconnect_quic MPD information
[download] E=mc2-164637671.mp4 has already been downloaded and merged

Note how it switches from 164733232 to 164637671.

@Petter-W
Copy link

I'm experiencing this as well.

@KrzaQ
Copy link

KrzaQ commented Aug 26, 2017

I am experiencing this as well. Wanted to dump this for offline watching, but instead of 150-something playlist, only a few videos have been extracted, and there were plentiful repeats of "already downloaded and merged".

> youtube-dl 'https://vimeo.com/channels/1203692' --external-downloader aria2c --external-downloader-args --file-allocation=none
[vimeo:channel] 1203692: Downloading page 1
[download] Downloading playlist: NDC London 2017
[vimeo:channel] 1203692: Downloading page 2
[vimeo:channel] 1203692: Downloading page 3
[vimeo:channel] 1203692: Downloading page 4
[vimeo:channel] 1203692: Downloading page 5
[vimeo:channel] 1203692: Downloading page 6
[vimeo:channel] 1203692: Downloading page 7
[vimeo:channel] 1203692: Downloading page 8
[vimeo:channel] 1203692: Downloading page 9
[vimeo:channel] 1203692: Downloading page 10
[vimeo:channel] 1203692: Downloading page 11
[vimeo:channel] 1203692: Downloading page 12
[vimeo:channel] 1203692: Downloading page 13
[vimeo:channel] playlist NDC London 2017: Downloading 152 videos
[download] Downloading video 1 of 152
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Extracting information
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 404: Not Found
[vimeo] 1203692: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 1203692: Downloading fastly_skyfire m3u8 information
[vimeo] 1203692: Downloading akfire_interconnect_quic MPD information
[vimeo] 1203692: Downloading fastly_skyfire MPD information
[download] Building Connected Azure Apps with Xamarin - Richard Hopkins & Mike James-1203692.mp4 has already been downloaded and merged
[download] Downloading video 2 of 152
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Extracting information
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 404: Not Found
[vimeo] 1203692: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 1203692: Downloading fastly_skyfire m3u8 information
[vimeo] 1203692: Downloading akfire_interconnect_quic MPD information
[vimeo] 1203692: Downloading fastly_skyfire MPD information
[download] Building Connected Azure Apps with Xamarin - Richard Hopkins & Mike James-1203692.mp4 has already been downloaded and merged
[download] Downloading video 3 of 152
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Extracting information
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 404: Not Found
[vimeo] 1203692: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 1203692: Downloading fastly_skyfire m3u8 information
[vimeo] 1203692: Downloading akfire_interconnect_quic MPD information
[vimeo] 1203692: Downloading fastly_skyfire MPD information
^C
ERROR: Interrupted by user

When I dump the playlist itself with --flat-playlist --dump-single-json I get the correct links for each playlist item.

Extracting them, though, doesn't help at all:

> cat links|head
https://vimeo.com/channels/1203692/215080698
https://vimeo.com/channels/1203692/215082229
https://vimeo.com/channels/1203692/215083135
https://vimeo.com/channels/1203692/215083871
https://vimeo.com/channels/1203692/215079702
https://vimeo.com/channels/1203692/215078396
https://vimeo.com/channels/1203692/215077668
https://vimeo.com/channels/1203692/215076759
https://vimeo.com/channels/1203692/215074798
https://vimeo.com/channels/1203692/214565547

> youtube-dl --batch-file=links --external-downloader aria2c --external-downloader-args --file-allocation=none -c
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Extracting information
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 404: Not Found
[vimeo] 1203692: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 1203692: Downloading fastly_skyfire m3u8 information
[vimeo] 1203692: Downloading akfire_interconnect_quic MPD information
[vimeo] 1203692: Downloading fastly_skyfire MPD information
[download] Building Connected Azure Apps with Xamarin - Richard Hopkins & Mike James-1203692.mp4 has already been downloaded and merged
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Extracting information
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 404: Not Found
[vimeo] 1203692: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 1203692: Downloading fastly_skyfire m3u8 information
[vimeo] 1203692: Downloading akfire_interconnect_quic MPD information
[vimeo] 1203692: Downloading fastly_skyfire MPD information
[download] Building Connected Azure Apps with Xamarin - Richard Hopkins & Mike James-1203692.mp4 has already been downloaded and merged
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Extracting information
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 404: Not Found
[vimeo] 1203692: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 1203692: Downloading fastly_skyfire m3u8 information
[vimeo] 1203692: Downloading akfire_interconnect_quic MPD information
[vimeo] 1203692: Downloading fastly_skyfire MPD information
^C
ERROR: Interrupted by user

@Hrxn
Copy link

Hrxn commented Aug 26, 2017

What happens if you try to use a single Vimeo video URL that returns this WARNING: Unable to download JSON metadata: HTTP Error 404: Not Found exception and try that with youtube-dl and --ignore-config?
Does this work?

BTW, the results from your second log are wrong.
You always have the same id in [vimeo] <id>. And this seems to be the channel ID, not a correct video ID.

@KrzaQ
Copy link

KrzaQ commented Aug 26, 2017

The behaviour is pretty much the same:

> youtube-dl --ignore-config 'https://vimeo.com/channels/1203692/215080698'
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Extracting information
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 404: Not Found
[vimeo] 1203692: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 1203692: Downloading fastly_skyfire m3u8 information
[vimeo] 1203692: Downloading akfire_interconnect_quic MPD information
[vimeo] 1203692: Downloading fastly_skyfire MPD information
[download] Building Connected Azure Apps with Xamarin - Richard Hopkins & Mike James-1203692.mp4 has already been downloaded and merged
> youtube-dl --ignore-config 'https://vimeo.com/channels/1203692/215082229'
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Extracting information
[vimeo] 1203692: Downloading webpage
[vimeo] 1203692: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 404: Not Found
[vimeo] 1203692: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 1203692: Downloading fastly_skyfire m3u8 information
[vimeo] 1203692: Downloading akfire_interconnect_quic MPD information
[vimeo] 1203692: Downloading fastly_skyfire MPD information
[download] Building Connected Azure Apps with Xamarin - Richard Hopkins & Mike James-1203692.mp4 has already been downloaded and merged

edit: after modifying the link format to https://vimeo.com/215082229 it seems to work. The video id in the json extracted by --flat-playlist is correct, but the link is not, as it includes channel/{channel_id}/

@digitalsmear
Copy link

I'm experiencing the same issue.

youtube-dl -u <myemail> -p <mypw> https://vimeo.com/ondemand/shibaristudy/210639101
That downloads the first video in the playlist, even though it's a link to the 2nd video.
Using --playlist-start variations give the same result. Trying to download videos not in the main OnDemand playlist still only pulls the first video in the playlist.

The output is the same for each.

[vimeo:ondemand] shibaristudy: Downloading webpage
[vimeo] Logging in
[vimeo] 235735561: Downloading webpage
[vimeo] 235735561: Extracting information
[vimeo] 210574771: Downloading webpage
[vimeo] 210574771: Extracting information
[vimeo] 210574771: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 403: Forbidden
[vimeo] 210574771: Downloading fastly_skyfire m3u8 information
[vimeo] 210574771: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 210574771: Downloading fastly_skyfire MPD information
[vimeo] 210574771: Downloading fastly_skyfire MPD information
[vimeo] 210574771: Downloading akfire_interconnect_quic MPD information
[vimeo] 210574771: Downloading akfire_interconnect_quic MPD information
[download] Gorgone's TK-210574771.mp4 has already been downloaded and merged

Notice how it starts out with 235735561, but switches to 210574771 in the 3rd line after logging in.

If I use --dump-single-json I get the HTTP Error 403 and a massive block of unformatted data, but if I try to use one of the URL's from that data, it names the output video differently, but still, only the first video is downloaded. Even clipping the URL after "sep/video/" down to a single video id produces the same result.

youtube-dl.exe -u <MyEmail> -p <myPW> 'https://skyfire.vimeocdn.com/1507165137-0x88f68c429cd25bf7f3c0901796c991ac03d7d481/210574771/sep/video/722005758,722005771,72 2005763,722005759/master.mpd?base64_init=1'

[generic] master: Requesting header
WARNING: Falling back on generic information extractor.
[generic] master: Downloading webpage
[generic] master: Extracting information
[dashsegments] Total fragments: 94
[download] Destination: master-master.fmaster-video-722005771.mp4
[download] 100% of 300.50MiB in 00:32
[dashsegments] Total fragments: 94
[download] Destination: master-master.fmaster-audio-722005771.m4a
[download] 100% of 17.03MiB in 00:10
[ffmpeg] Merging formats into "master-master.mp4"

@digitalsmear
Copy link

Here's the --dump-single-json data...
https://pastebin.com/JNcHEccQ

@ytdl-org ytdl-org deleted a comment from digitalsmear Oct 6, 2017
@digitalsmear
Copy link

I see the account needed tag...

If a dev will contact me directly I will provide an account to use for analyzing the issue.

@rcodecom
Copy link

I'm also interested in a solution as I have the same problem.

@avangel
Copy link

avangel commented Feb 16, 2018

The trick from cyian-1756 comment's worked for me. Here is the detailed process:

  1. Invoke youtube-dl with the --dump-pages option (in addition to other parameters). It will print huge amounts of unreadable stuff between regular outputs.
  2. Look for the first occurrence of the exact URL you originally passed in parameters, like [vimeo] Dumping request to https://player.vimeo.com/video/123456789 (it should be the fourth output blob).
  3. Copy all the stuff behind this line util the next [vimeo] Dumping request...
  4. Paste it in an online base64 decoder like https://www.base64decode.org and decode it
  5. In the resulting source code, search for ".mp4", the select the whole URL (don't forget the ?token=.... parameter)
  6. Paste it in your browser, you should be able to play the video with its native video player.
  7. Use the regular "Save as..." option from your browser.

@simonebaracchi
Copy link

This bug still looks open in version 2021.12.17, I worked around it with some Linux shell scripting:

  • open the vimeo channel page, load all the list of videos
  • press f12 to open the developer console
  • find the table that holds all the video links, left click and copy it
  • format the html using some online html formatter, copy the result to a file, let's call it "raw"
  • execute this in a bash shell: cat raw | grep vod-title-page-router-link | awk '{FS=""";}{print "https://vimeo.com"$4;}' > list
  • then run youtube-dl --batch-file=list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests