AMC Networks | HTTP Error 401: Unauthorized #12274

Closed
opened 2026-02-21 05:17:17 -05:00 by deekerman · 1 comment
Owner

Originally created by @techworley on GitHub (Nov 25, 2017).

  • I've verified and I assure that I'm running youtube-dl 2017.11.15
  • At least skimmed through the [README](https://github.com/rg3/youtube-
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Unable to download from AMC Networks

youtube-dl -v --ap-mso Comcast_SSO --ap-username REDACTED --ap-password REDACTED -o '~/Movies/%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s - %(title)s.%(ext)s' http://www.amc.com/shows/the-walking-dead/full-episodes/season-08/episode-05/the-big-scary-u

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--ap-mso', u'Comcast_SSO', u'--ap-username', u'PRIVATE', u'--ap-password', u'PRIVATE', u'-o', u'~/Movies/%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s - %(title)s.%(ext)s', u'http://www.amc.com/shows/the-walking-dead/full-episodes/season-08/episode-05/the-big-scary-u']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.11.15
[debug] Python version 2.7.14 - Darwin-17.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.4, ffprobe 3.4
[debug] Proxy map: {}
[AMCNetworks] the-big-scary-u: Downloading webpage
[AMCNetworks] the-big-scary-u: Downloading JSON metadata
[AMCNetworks] V1uio7Ft7ton: Downloading Provider Redirect Page
[AMCNetworks] V1uio7Ft7ton: Logging in
[AMCNetworks] V1uio7Ft7ton: 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 506, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2196, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
Originally created by @techworley on GitHub (Nov 25, 2017). - [X] I've **verified** and **I assure** that I'm running youtube-dl **2017.11.15** - [X] At least skimmed through the [README](https://github.com/rg3/youtube- - [X] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your *issue*? - [X] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### Unable to download from AMC Networks ``` youtube-dl -v --ap-mso Comcast_SSO --ap-username REDACTED --ap-password REDACTED -o '~/Movies/%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s - %(title)s.%(ext)s' http://www.amc.com/shows/the-walking-dead/full-episodes/season-08/episode-05/the-big-scary-u [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-v', u'--ap-mso', u'Comcast_SSO', u'--ap-username', u'PRIVATE', u'--ap-password', u'PRIVATE', u'-o', u'~/Movies/%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s - %(title)s.%(ext)s', u'http://www.amc.com/shows/the-walking-dead/full-episodes/season-08/episode-05/the-big-scary-u'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2017.11.15 [debug] Python version 2.7.14 - Darwin-17.2.0-x86_64-i386-64bit [debug] exe versions: ffmpeg 3.4, ffprobe 3.4 [debug] Proxy map: {} [AMCNetworks] the-big-scary-u: Downloading webpage [AMCNetworks] the-big-scary-u: Downloading JSON metadata [AMCNetworks] V1uio7Ft7ton: Downloading Provider Redirect Page [AMCNetworks] V1uio7Ft7ton: Logging in [AMCNetworks] V1uio7Ft7ton: 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 506, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2196, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open response = meth(req, response) File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error return self._call_chain(*args) File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain result = func(*args) File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) ```
Author
Owner

@yan12125 commented on GitHub (Nov 27, 2017):

Most likely a duplicate of #11538. Comcast_SSO is not always working as of now.

@yan12125 commented on GitHub (Nov 27, 2017): Most likely a duplicate of #11538. Comcast_SSO is not always working as of now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#12274
No description provided.