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.35k stars 9.95k forks source link

ABC iView 401 Authentication Error #30934

Open Quasar2308 opened 2 years ago

Quasar2308 commented 2 years ago

Checklist

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-u', 'PRIVATE', 'https://iview.abc.net.au/video/CH1911H022S00']
Type account password and press [Return]:
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.22610
[debug] exe versions: ffmpeg 2022-05-02-git-40f2ea971f-full_build-www.gyan.dev, ffprobe 2022-05-02-git-40f2ea971f-full_build-www.gyan.dev
[debug] Proxy map: {}
[debug] Using fake IP 1.130.230.187 (AU) as X-Forwarded-For.
[abc.net.au:iview] CH1911H022S00: Downloading JSON metadata
[abc.net.au:iview] CH1911H022S00: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 401: Unauthorized (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\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 634, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\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

Description

WRITE DESCRIPTION HERE

ABC iView exhibits a HTTP 401 error. I have tried other systems and different accounts. All yield the same result.

dirkf commented 2 years ago

The ABC iView extractor doesn't know how to log in. If that should be needed, use --cookies ... with cookies saved from your logged-in browser session (see Readme/manual for more).

gamer191 commented 2 years ago

@Quasar2308 Do you live in Australia, or are you accessing iview through a VPN? Because I suspect that your VPN has been blocked from the ABC iview website, and that it's nothing to do with needing to log in

Quasar2308 commented 2 years ago

@gamer191 I am using a VPN. My provider has not been blocked and I can access the video just fine with my account through Firefox. I have had extractor errors when using my cookie so I will need to look into that.

Edit: I have tried different providers and most of them have access to iView. I took that verbose log when using a provider that was able to access iView.