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.com: Support for embed-only videos #3582

Closed
bkircher opened this issue Aug 25, 2014 · 13 comments
Closed

vimeo.com: Support for embed-only videos #3582

bkircher opened this issue Aug 25, 2014 · 13 comments

Comments

@bkircher
Copy link

@bkircher bkircher commented Aug 25, 2014

The error message is clear but how can I circumvent it? There is no page that embeds this video.

$ youtube-dl -ct -v http://vimeo.com/user22258446/review/91613211/13f927e053
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-ct', '-v', 'http://vimeo.com/user22258446/review/91613211/13f927e053']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.08.23
[debug] Python version 2.7.5 - Darwin-13.3.0-x86_64-i386-64bit
[debug] Proxy map: {}
[vimeo] 91613211: Downloading webpage
ERROR: Cannot download embed-only video without embedding URL. Please call youtube-dl with the URL of the page that embeds this video.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/vimeo.py", line 218, in _real_extract
webpage = self._download_webpage(request, video_id)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 283, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 223, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 211, in _request_webpage
raise ExtractorError(errmsg, sys.exc_info()[2], cause=err)
ExtractorError: Unable to download webpage: HTTP Error 403: Forbidden; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 520, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 170, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/vimeo.py", line 227, in _real_extract
expected=True)
ExtractorError: Cannot download embed-only video without embedding URL. Please call youtube-dl with the URL of the page that embeds this video.

Original page: http://devweek.com/2014/assets.html

@phihag phihag closed this in ba5d51b Aug 25, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Aug 25, 2014

Thank you for the report. It turns out the embedding URL is the page URL itself in this case. Fixed in youtube-dl 2014.08.25. Type sudo youtube-dl -U to update.

@bkircher
Copy link
Author

@bkircher bkircher commented Aug 25, 2014

Well, that one was quick. Tested and works for me. Thanks a bunch.

@palashcode
Copy link

@palashcode palashcode commented Sep 2, 2016

same problem with 2016.08.31

@2wenty2wo
Copy link

@2wenty2wo 2wenty2wo commented Sep 8, 2016

Can confirm, also having this problem with Vimeo videos after updating YouTube-DL.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 8, 2016

@palashcode @2wenty2wo Could you paste your commands and logs?

@2wenty2wo
Copy link

@2wenty2wo 2wenty2wo commented Sep 8, 2016

@yan12125 Sure, I just ran it again with the "-v" command, I'm not sure if that's the log you're talking about. Thank you for the super quick reply :)


youtube-dl -v https://player.vimeo.com/video/166756641
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://player.vimeo.com/video/166756641']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.09.04.1
[debug] Python version 2.7.11 - Darwin-15.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.0.2, ffprobe 3.0.2, rtmpdump 2.4
[debug] Proxy map: {}
[vimeo] 166756641: Downloading webpage
ERROR: Cannot download embed-only video without embedding URL. Please call youtube-dl with the URL of the page that embeds this video.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/vimeo.py", line 409, in _real_extract
webpage = self._download_webpage(request, video_id)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 507, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 414, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 403, in _request_webpage
raise ExtractorError(errmsg, sys.exc_info()[2], cause=err)
ExtractorError: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 691, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 347, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/vimeo.py", line 418, in _real_extract
expected=True)
ExtractorError: Cannot download embed-only video without embedding URL. Please call youtube-dl with the URL of the page that embeds this video.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 8, 2016

How did you get the URL https://player.vimeo.com/video/166756641? Is it embedded in another website?

@2wenty2wo
Copy link

@2wenty2wo 2wenty2wo commented Sep 8, 2016

Yeah it's embedded on https://www.heyhey.tv/exclusive-member-vid/1984-episode-39/
I paid legally to get all the old Australian TV "Hey Hey It's Saturday" episodes and I've been downloading them for my Dad. It's been downloading fine until I updated youtube-dl tonight. Now I get that error.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 8, 2016

Could you try:

youtube-dl -v "https://player.vimeo.com/video/166756641" --referer "https://www.heyhey.tv/exclusive-member-vid/1984-episode-39/"
@2wenty2wo
Copy link

@2wenty2wo 2wenty2wo commented Sep 8, 2016

Thanks @yan12125 that did work. Just going to take ages now that I have to add a referer. 40+ more videos to go haha. Thanks again.

@ddmee
Copy link

@ddmee ddmee commented Nov 30, 2016

Hey, I had this same error with Vimeo, for a paid-for video: 'ERROR: Cannot download embed-only video without embedding URL. Please call youtube-dl with the URL of the page that embeds this video'.

Using this method was successful: Woot!
youtube-dl -v "https://player.vimeo.com/video/166756641" --referer "https://www.heyhey.tv/exclusive-member-vid/1984-episode-39/"

Perhaps it is a good idea to add something about this into some documentation somewhere?

@therohanchawla
Copy link

@therohanchawla therohanchawla commented Nov 30, 2016

@2wenty2wo u can always create a .txt file for batch command

@TechieGenie
Copy link

@TechieGenie TechieGenie commented Aug 25, 2019

In the place of referer argument, value need not be the complete URL. Just the website name is enough.

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

Successfully merging a pull request may close this issue.

None yet
8 participants
You can’t perform that action at this time.