Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Cox to AP Provider list results in certificate verification error, bypassing certificate results in no POST URL. #13929

Closed
ipat8 opened this issue Aug 16, 2017 · 0 comments
Labels

Comments

@ipat8
Copy link

@ipat8 ipat8 commented Aug 16, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.08.13

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

Issue 1 -> #11396

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)

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 ```):

MBP-ES158PJEUC:youtube_dl moose$ sudo python ./__main__.py http://www.adultswim.com/videos/rick-and-morty/vindicators-3-the-return-of-worldender --ap-mso Cox --ap-username PRIVATE --ap-password PRIVATE --no-check-certificate --verbose
Password:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'http://www.adultswim.com/videos/rick-and-morty/vindicators-3-the-return-of-worldender', u'--ap-mso', u'Cox', u'--ap-username', u'PRIVATE', u'--ap-password', u'PRIVATE', u'--no-check-certificate', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.08.13
[debug] Python version 2.7.13 - Darwin-17.0.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.3, ffprobe 3.3
[debug] Proxy map: {}
[AdultSwim] vindicators-3-the-return-of-worldender: Downloading webpage
[AdultSwim] a5BtHfcDQEeYpQ1puXPvTA: Downloading XML
[AdultSwim] 1451601: Downloading Provider Redirect Page
[AdultSwim] 1451601: Downloading Provider Login Page
[AdultSwim] 1451601: Logging in
ERROR: 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.
Traceback (most recent call last):
  File "/Users/moose/Downloads/youtube-dl-master/youtube_dl/YoutubeDL.py", line 776, in extract_info
    ie_result = ie.extract(url)
  File "/Users/moose/Downloads/youtube-dl-master/youtube_dl/extractor/common.py", line 433, in extract
    ie_result = self._real_extract(url)
  File "/Users/moose/Downloads/youtube-dl-master/youtube_dl/extractor/adultswim.py", line 138, in _real_extract
    'auth_required': video_data.get('auth'),
  File "/Users/moose/Downloads/youtube-dl-master/youtube_dl/extractor/turner.py", line 79, in _extract_cvp_info
    query['accessToken'] = self._extract_mvpd_auth(ap_data['url'], video_id, ap_data['site_name'], ap_data['site_name'])
  File "/Users/moose/Downloads/youtube-dl-master/youtube_dl/extractor/adobepass.py", line 1516, in _extract_mvpd_auth
    post_form(mvpd_confirm_page_res, 'Confirming Login')
  File "/Users/moose/Downloads/youtube-dl-master/youtube_dl/extractor/adobepass.py", line 1365, in post_form
    post_url = self._html_search_regex(r'<form[^>]+action=(["\'])(?P<url>.+?)\1', form_page, 'post url', group='url')
  File "/Users/moose/Downloads/youtube-dl-master/youtube_dl/extractor/common.py", line 791, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/Users/moose/Downloads/youtube-dl-master/youtube_dl/extractor/common.py", line 782, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: 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.


If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

It would seem like the extractor isn't pulling the correct information out of the SSO site. I've attached my modified adobepass. My guess at a solution would be digging through the html of the cox site; I would assume the script is missing the URL.

adobepass.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.