youtube-dl: Unable to extract post url using adobe pass
Checklist
- I’m reporting a broken site support issue
- I’ve verified that I’m running youtube-dl version 2020.09.06
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar bug reports including closed ones
- I’ve read bugs section in FAQ
Verbose log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'--ap-mso', u'Comcast_SSO', u'--ap-username', u'PRIVATE', u'--ap-password', u'PRIVATE', u'https://www.nbc.com/the-soup/video/the-soup-722/4200738']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.09.06
[debug] Python version 2.7.17 (CPython) - Linux-4.15.0-112-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg N-50726-g20c5f4d835-static, ffprobe N-50726-g20c5f4d835-static
[debug] Proxy map: {}
[NBC] 4200738: Downloading JSON metadata
[NBC] 4200738: Downloading Provider Redirect Page
[NBC] 4200738: Logging in
[NBC] 4200738: Retrieving Session
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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2238, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
Description
I’ve tested this with 2 different providers. Off provider network gives a 401 unauthenticated error. On network gives a url extraction error.
Working URL (no credentials needed) https://disneynow.com/shows/the-rocketeer/season-01/episode-01-first-flight-pilot-error/vdka14005750
if credentials are required, please contact me
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20
I too moved to yt-dlp. I use the same command referenced above just with yt-dlp at the beginning. I usually do NOT need to use cookies even as I use a Comcast login from a Fios network. I occasionally get the auth problem, what usually fixes it is signing out of the provider on whatever site you are using (for me it is almost always DisneyNow) and signing back in. From there, either the auth will work again or I then generate a fresh set of cookies and add the --cookies tag.
I switched to yt-dlp instead. It works there.