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

--ap-mso DTV Broken: Unable to extract post url #2188

Open
6 of 7 tasks
DreadMcLaren opened this issue Dec 31, 2021 · 6 comments
Open
6 of 7 tasks

--ap-mso DTV Broken: Unable to extract post url #2188

DreadMcLaren opened this issue Dec 31, 2021 · 6 comments
Labels
account-needed Account details are needed to test/fix this can-share-account Someone is willing to provide account details for development geo-blocked Content is geo-blocked site-bug Issue with a specific website

Comments

@DreadMcLaren
Copy link

Checklist

Region

USA

Description

TBS and TNTDrama live stream links no longer work. This appears to also be an issue for downloading on-demand content too.

Verbose log

[debug] Command-line config: ['--ap-mso', 'DTV', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', '--verbose', 'https://www.tbs.com/watchtbs/east']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Python version 3.9.9 (CPython 64bit) - macOS-12.1-arm64-arm-64bit
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1
[debug] Optional libraries: sqlite
[debug] Proxy map: {}
[debug] [TBS] Extracting URL: https://www.tbs.com/watchtbs/east
[TBS] east: Downloading webpage
[TBS] tbs-east: Downloading JSON metadata
[TBS] tbs-east: Downloading Provider Redirect Page
[TBS] tbs-east: Downloading Provider Login Page
ERROR: [TBS] east: Unable to extract post url; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 599, in extract
    ie_result = self._real_extract(url)
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/tbs.py", line 56, in _real_extract
    info = self._extract_ngtv_info(
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/turner.py", line 237, in _extract_ngtv_info
    m3u8_url = self._add_akamai_spe_token(
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/turner.py", line 41, in _add_akamai_spe_token
    query['accessToken'] = self._extract_mvpd_auth(ap_data['url'], content_id, ap_data['site_name'], ap_data['site_name'])
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/adobepass.py", line 1657, in _extract_mvpd_auth
    mvpd_confirm_page_res = post_form(provider_login_page_res, 'Logging in', form_data)
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/adobepass.py", line 1391, in post_form
    post_url = self._html_search_regex(r'<form[^>]+action=(["\'])(?P<url>.+?)\1', form_page, 'post url', group='url')
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 1182, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 1173, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)


[debug] Command-line config: ['--ap-mso', 'DTV', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', '--verbose', 'https://www.tntdrama.com/watchtnt/east']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Python version 3.9.9 (CPython 64bit) - macOS-12.1-arm64-arm-64bit
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1
[debug] Optional libraries: sqlite
[debug] Proxy map: {}
[debug] [TBS] Extracting URL: https://www.tntdrama.com/watchtnt/east
[TBS] east: Downloading webpage
[TBS] tnt-east: Downloading JSON metadata
[TBS] tnt-east: Downloading Provider Redirect Page
[TBS] tnt-east: Downloading Provider Login Page
ERROR: [TBS] east: Unable to extract post url; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 599, in extract
    ie_result = self._real_extract(url)
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/tbs.py", line 56, in _real_extract
    info = self._extract_ngtv_info(
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/turner.py", line 237, in _extract_ngtv_info
    m3u8_url = self._add_akamai_spe_token(
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/turner.py", line 41, in _add_akamai_spe_token
    query['accessToken'] = self._extract_mvpd_auth(ap_data['url'], content_id, ap_data['site_name'], ap_data['site_name'])
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/adobepass.py", line 1657, in _extract_mvpd_auth
    mvpd_confirm_page_res = post_form(provider_login_page_res, 'Logging in', form_data)
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/adobepass.py", line 1391, in post_form
    post_url = self._html_search_regex(r'<form[^>]+action=(["\'])(?P<url>.+?)\1', form_page, 'post url', group='url')
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 1182, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/opt/homebrew/Cellar/yt-dlp/2021.12.27/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 1173, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
@DreadMcLaren DreadMcLaren added site-bug Issue with a specific website triage Untriaged issue labels Dec 31, 2021
@jbree

This comment was marked as off-topic.

@pukkandan pukkandan added account-needed Account details are needed to test/fix this and removed triage Untriaged issue labels Dec 31, 2021
@DreadMcLaren
Copy link
Author

@pukkandan I can share credentials, if you need some to test and fix? Let me know the best way to get them to you.

@pukkandan pukkandan added can-share-account Someone is willing to provide account details for development geo-blocked Content is geo-blocked labels Jan 1, 2022
@pukkandan pukkandan changed the title TBS and TNTDrama Live Streams not working --ap-mso DTV Broken: Unable to extract post url May 26, 2022
@bashonly bashonly mentioned this issue Nov 22, 2022
10 tasks
@dare2
Copy link

dare2 commented Dec 17, 2022

Aside from swatting down duplicate issues, is this even being looked at? It's been almost a year.

@pukkandan
Copy link
Member

We are all volunteers here. The maintainers cannot try to fix each and every site. The maintenance of each site/MSO relies on other volunteers with interest in it.

@dare2
Copy link

dare2 commented Dec 17, 2022

I understand. No snarkiness intended. I was just curious. I wish I had the time and expertise to help, but all I can do is offer credentials like @DreadMcLaren did previously.

@DJStompZone
Copy link

I'm also having this exact issue, nearly 2 years later
Not complaining or anything, just figured I'd chime in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
account-needed Account details are needed to test/fix this can-share-account Someone is willing to provide account details for development geo-blocked Content is geo-blocked site-bug Issue with a specific website
Projects
Status: adobepass
Development

No branches or pull requests

5 participants