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
132.25k stars 10.03k forks source link

Site support request (ITVDN.com) #19197

Open AOne-T opened 5 years ago

AOne-T commented 5 years ago

Please follow the guide below


Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.02.08. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

Before submitting an issue make sure you have:

What is the purpose of your issue?


The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

>youtube-dl.exe -v https://itvdn.com/ru/patterns
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://itvdn.com/ru/patterns']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.02.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: none
[debug] Proxy map: {}
[generic] patterns: Requesting header
WARNING: Falling back on generic information extractor.
[generic] patterns: Downloading webpage
[generic] patterns: Extracting information
ERROR: Unsupported URL: https://itvdn.com/ru/patterns
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6w61832c\build\youtube_dl\YoutubeDL.py", line 794, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6w61832c\build\youtube_dl\extractor\common.py", line 508, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6w61832c\build\youtube_dl\extractor\generic.py", line 3320, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://itvdn.com/ru/patterns

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Vangelis66 commented 5 years ago

... The first free full video available at the URI specified is hosted on VIMEO; with a bit of URL sniffing (via Web Console), it can be downloaded with the following command:

youtube-dl -c --no-part --referer "https://itvdn.com/ru/patterns" -f "http-720p" "https://player.vimeo.com/video/170944837" -o "Шаблоны проектирования - Введение (Full).mp4" =>

[vimeo] 170944837: Downloading webpage
[vimeo] 170944837: Extracting information
[vimeo] 170944837: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 404: Not Found
[vimeo] 170944837: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 170944837: Downloading fastly_skyfire m3u8 information
[vimeo] 170944837: Downloading akfire_interconnect_quic MPD information
[vimeo] 170944837: Downloading akfire_interconnect_quic MPD information
[vimeo] 170944837: Downloading fastly_skyfire MPD information
[vimeo] 170944837: Downloading fastly_skyfire MPD information
[download] Destination: Шаблоны проектирования - Введение (Full).mp4
[download]  23.0% of 80.32MiB at  1.47MiB/s ETA 00:42

Though not tried, I expect the rest of the free videos (of the playlist) to be downloadable via a similar fashion... 😜

AOne-T commented 5 years ago

Using developer console in browser, I only found out that it downloads video is m4s segments. Where did you find the full url?

AOne-T commented 5 years ago

Using the url you provided I found other urls throughout the course (it is free up to february 13th) and downloaded it. Thanks! But having it automated would be nice.

Vangelis66 commented 5 years ago

Using developer console in browser, I only found out that it downloads video is m4s segments. Where did you find the full url?

Hello Alex 😄 As I already said, I used Web Console (CTRL+SHIFT+K) among the Developer Tools in a Mozilla type browser (I avoid Google Chrome like the plague...) - once I loaded the free video and it started playing, I noticed the vimeo.api/oembed.json web request (meaning the embedded video is hosted on VIMEO) and soon after the link to the video itself, player.vimeo.com/video/170944837:

vimeolink

I hope it's clearer now for you... 😉 Regards

AOne-T commented 5 years ago

@Vangelis66 Thanks for explanation!