mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
Add alternative option to the embed-only error
For example, running: ``` youtube-dl https://player.vimeo.com/video/356169265 ``` outputs: > [vimeo] 356169265: 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. Following the instructions and running: ``` youtube-dl https://www.raywenderlich.com/4720178-ios-accessibility-tutorial-making-custom-controls-accessible ``` outputs: > [RayWenderlichCourse] 4720178-ios-accessibility-tutorial-making-custom-controls-accessible: > Downloading webpage > [download] Downloading playlist: iOS Accessibility Tutorial: Making Custom > Controls Accessible > [RayWenderlichCourse] playlist iOS Accessibility Tutorial: Making Custom > Controls Accessible: Collected 0 video ids (downloading 0 of them) > [download] Finished downloading playlist: iOS Accessibility Tutorial: Making > Custom Controls Accessible And only this works: ``` youtube-dl https://player.vimeo.com/video/356169265 --referer \ "https://www.raywenderlich.com/4720178-ios-accessibility-tutorial-making-custom-controls-accessible" ```
This commit is contained in:
parent
a4ed50bb84
commit
b919f9463e
@ -601,7 +601,8 @@ class VimeoIE(VimeoBaseInfoExtractor):
|
||||
raise ExtractorError(
|
||||
'Cannot download embed-only video without embedding '
|
||||
'URL. Please call youtube-dl with the URL of the page '
|
||||
'that embeds this video.',
|
||||
'that embeds this video, or by passing that to the '
|
||||
'--referer argument.',
|
||||
expected=True)
|
||||
raise
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user