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.41k stars 10.04k forks source link

[adobepass] DIRECTV NOW login no longer working #17770

Open ngdio opened 6 years ago

ngdio commented 6 years ago

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


The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

# youtube-dl --ap-mso ATTOTT --ap-username *** --ap-password *** http://www.usanetwork.com/mrrobot/videos/shutdown-r
[debug] System config: []
[debug] User config: ['--write-sub', '--sub-format', 'srt/vtt', '--sub-lang', 'de,en,deu,eng,de-DE,en-US,en-GB,de-de,en-us,en-gb', '-R', 'infinite', '--fragment-retries', 'infinite', '--socket-timeout', '10']
[debug] Custom config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.09.26
[debug] Python version 3.7.0 (CPython) - Linux-4.18.10-arch1-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg n4.0.2, ffprobe n4.0.2, rtmpdump 2.4
[debug] Proxy map: {}
[USANetwork] shutdown-r: Downloading webpage
[USANetwork] 3630251: Retrieving Authorization Token
ERROR: 0070-We updated our app. Just sign out and sign back into DIRECTV NOW this one time, and you'll be all set!

Description of your issue, suggested solution and other information

Authorizing through DIRECTV NOW to Adobe Pass-powered websites no longer works. Apparently the authorization schema has been changed. The error message also appeared in the browser, but disappeared after a relogin.

SkiTheSlicer commented 6 years ago

Commit 8598dd3 works for me for disneynow, but the PR does not.

[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.11.03
[debug] Python version 2.7.13 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg 3.4.1, ffprobe 3.4.1
[debug] Proxy map: {}
[Go] vdka0_93o4nu1g: Downloading webpage
[Go] VDKA0_93o4nu1g: Downloading JSON metadata
[Go] VDKA0_93o4nu1g: Downloading Provider Redirect Page
[Go] VDKA0_93o4nu1g: Downloading Provider Login Page
WARNING: unable to extract post url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[Go] VDKA0_93o4nu1g: Logging in
[Go] VDKA0_93o4nu1g: Confirming Login
[Go] VDKA0_93o4nu1g: 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; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "C:\Users\skitheslicer\git\youtube-dl\youtube_dl\extractor\common.py", line 605, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "C:\Users\skitheslicer\git\youtube-dl\youtube_dl\YoutubeDL.py", line 2211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "C:\Python27\lib\urllib2.py", line 435, in open
    response = meth(req, response)
  File "C:\Python27\lib\urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python27\lib\urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "C:\Python27\lib\urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "C:\Python27\lib\urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
ngdio commented 6 years ago

Problem is that the login page differs depending on which network you're trying to download from. I made an additional commit which I thought had fixed it, but apparently it didn't. I'll take another look as soon as I have a subscription again.

shirt-dev commented 6 years ago

Any update on this?

ngdio commented 5 years ago

If somebody can provide me with login data, I can still try to fix this. I basically had the fix already, so it shouldn't be too difficult.

jasonkingsley commented 5 years ago

@ngdio I have login data for Directv and would like to work with you in getting this working. Can you email me: klexen@gmail.com or Discord: klexen#5580

Thank you!

rygood commented 5 years ago

I'm still having this issue with version 2019.11.05