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.73k stars 10.07k forks source link

[Site Support Request] adsrcourses.com #11374

Open Arozha opened 7 years ago

Arozha commented 7 years ago

Please follow the guide below


Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.01. 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?

WITH USER-AGENT

PS C:\Users\Chris> youtube-dl --cookies "C:\Users\Chris\Downloads\cookies.txt" --user-agent "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML,
 like Gecko) Chrome/55.0.2883.75 Safari/537.36" -v "https://www.adsrcourses.com/media/01-introduction/50473/feature"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--cookies', 'C:\\Users\\Chris\\Downloads\\cookies.txt', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.3
6 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36', '-v', 'https://www.adsrcourses.com/media/01-introduction/50473/feature']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: none
[debug] Proxy map: {'https': 'https://127.0.0.1:8888', 'http': 'http://127.0.0.1:8888'}
[generic] feature: Requesting header
WARNING: Falling back on generic information extractor.
[generic] feature: Downloading webpage
[generic] feature: Extracting information
[download] Downloading playlist: None
[generic] playlist None: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Invoking downloader on 'http://pivotshare-downloads.dcp.adaptive.level3.net/pivotshare-vod/CID-3978/50473_2c16044928adbb0892f26d6596631a97_TRAILER_3
60.mp4?nva=21161206032512&token=0d7254234c371a8d4542d'
[download] 01 Introduction _ Echo Sound Works _ Watch Online Free for 2 weeks _ ADSR Music Production Video Courses-feature.mp4
[download] 100% of 2.10MiB in 00:01
[download] Finished downloading playlist: None

DEFAULT USER-AGENT

PS C:\Users\Chris> youtube-dl --cookies "C:\Users\Chris\Downloads\cookies.txt" -v  "https://www.adsrcourses.com/media/01-introduction/50473/feature"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--cookies', 'C:\\Users\\Chris\\Downloads\\cookies.txt', '-v', 'https://www.adsrcourses.com/media/01-introduction/50473/feature']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: none
[debug] Proxy map: {'https': 'https://127.0.0.1:8888', 'http': 'http://127.0.0.1:8888'}
[generic] feature: Requesting header
WARNING: Falling back on generic information extractor.
[generic] feature: Downloading webpage
[generic] feature: Extracting information
[download] Downloading playlist: None
[generic] playlist None: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Invoking downloader on 'http://pivotshare-downloads.dcp.adaptive.level3.net/pivotshare-vod/CID-3978/50473_2c16044928adbb0892f26d6596631a97_TRAILER_3
60.mp4?nva=21161206032512&token=0d7254234c371a8d4542d'
[download] 01 Introduction _ Echo Sound Works _ Watch Online Free for 2 weeks _ ADSR Music Production Video Courses-feature.mp4
[download] 100% of 2.10MiB in 00:01
[download] Finished downloading playlist: None

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):


ISSUE: youtube-dl only downloads the public-facing trailer videos

Things to know:

  1. adsrcourses.com requires credentials to login. I'm happy to provide them for the devs to investigate.
  2. I can watch the videos just fine logged in from Chrome, but youtube-dl only downloads the teasers which are available to non-authenticated users.
  3. I have tried to load in the cookies from Chrome and use the same Chrome user-agent as my browser. Passing the username and password also does not work.
  4. It looks like from Fiddler that when in Chrome the client hello contains a session id and session ticket for the SSL handshake. youtube-dl does not send this information and is then sent the public video by the server.

How do I access the real videos from youtube-dl?

Below is also the dump file.

featurehttps-_www.adsrcourses.com_media_01-introduction_50473_feature.zip

yan12125 commented 7 years ago

More example URLs from #12374:

https://www.cultorama.tv/media/brotherhood-of-justice/49480 https://www.adsrcourses.com/media/02-underestimating-acoustical-treatment/50481 https://rpwondemand.pivotshare.com/media/live-in-portsmouth-7/59694

jgilf commented 7 years ago

Any chance you could give this a shot @yan12125?