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.92k stars 10k forks source link

New 404 error from Oriely #29744

Open anishkgt opened 3 years ago

anishkgt commented 3 years ago

Checklist

Verbose log

C:\Users\George\Downloads\CISSP>%ytdl% -v
[debug] System config: []
[debug] User config: ['-u', 'PRIVATE', '-i', '--ignore-errors', '-c', '--no-warnings', '--console-title', '--batch-file=batch-file.txt', '--cookies', 'cookies.txt', '-o', '%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: ['-v']
[debug] Batch file urls: ['https://learning.oreilly.com/videos/owasp-top-10/150320BCRV']
Type account password and press [Return]:
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[safari:course] Downloading login page
[safari:course] 150320BCRV: Downloading course JSON
[download] Downloading playlist: OWASP Top 10 Security Fundamentals
[safari:course] playlist OWASP Top 10 Security Fundamentals: Collected 33 video ids (downloading 33 of them)
[download] Downloading video 1 of 33
[safari:api] Downloading login page
[safari:api] 150320BCRV/video000: Downloading part JSON
[safari] Downloading login page
[safari] 150320BCRV-video000: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (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.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\extractor\common.py", line 634, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\YoutubeDL.py", line 2288, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

[download] Downloading video 2 of 33
[safari:api] 150320BCRV/video001: Downloading part JSON
[safari] 150320BCRV-video001: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (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.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\extractor\common.py", line 634, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\YoutubeDL.py", line 2288, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

[download] Downloading video 3 of 33
[safari:api] 150320BCRV/video002: Downloading part JSON

ERROR: Interrupted by user

C:\Users\George\Downloads\CISSP>

Description

Downloading from Oreily was never a problem until i came across this. I had downloaded several other videos none had any problems. I use cookies to authenticate as my sign-on is SSO method.

arush-sal commented 3 years ago

hey @anishkgt could you help me up with setting the cookies for SSO? I tried looking around and can't seem to get it working.