ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.86k stars 10k forks source link

imdb.com downloading a trailer that plays automatically #16308

Open IoanPaleru opened 6 years ago

IoanPaleru commented 6 years ago

C:\Users\Computer User\Downloads>youtube-dl -v https://www.imdb.com/title/tt5232
792/?ref_=nv_sr_1
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.imdb.com/title/tt5232792/?ref_=nv
_sr_1']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.04.25
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: avconv 11.3, avprobe 11.3, ffmpeg N-83657-g7e4f32f, ffprob
e N-83657-g7e4f32f
[debug] Proxy map: {}
[generic] ?ref_=nv_sr_1: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ?ref_=nv_sr_1: Downloading webpage
[generic] ?ref_=nv_sr_1: Extracting information
ERROR: Unsupported URL: https://www.imdb.com/title/tt5232792/?ref_=nv_sr_1
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpad1hmn8r\bu
ild\youtube_dl\YoutubeDL.py", line 789, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpad1hmn8r\bu
ild\youtube_dl\extractor\common.py", line 440, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpad1hmn8r\bu
ild\youtube_dl\extractor\generic.py", line 3182, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.imdb.com/title/t
t5232792/?ref_=nv_sr_1

C:\Users\Computer User\Downloads>
...
<end of log>

youtube-dl is an excellent program because it has lots of features and usually downloads videos in a wide range of formats from a variety of websites, however on "https://www.imdb.com/title/tt5232792/?ref_=nv_sr_1" when you first go to that page, a trailer starts to play, and youtube-dl doesn't seem to be able to download it. The video loads and plays fine when you first go to that page in a browser, and other programs and browser add-ons are able to download the video properly. How is an average user supposed to know how to find the correct download url for a video if necessary, and shouldn't youtube-dl find the correct download url for a video automatically if you provide it with the url for the page where the video plays properly on the website? Is there a way to fix that? Thanks.
IoanPaleru commented 6 years ago

Do you know how to download videos from "https://www.imdb.com/title/tt5232792/?ref_=nv_sr_1" with youtube-dl? Thanks.