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

[tvn24] "premium", magazine and konkret24 (factcheck) content #26437

Open
selfisekai opened this issue Aug 25, 2020 · 0 comments
Open

[tvn24] "premium", magazine and konkret24 (factcheck) content #26437

selfisekai opened this issue Aug 25, 2020 · 0 comments

Comments

@selfisekai
Copy link

@selfisekai selfisekai commented Aug 25, 2020

Checklist

  • I'm reporting a site feature request
  • I've verified that I'm running youtube-dl version 2020.07.28
  • I've searched the bugtracker for similar site feature requests including closed ones

Description

tvn24.pl has "premium", magazine and konkret24 (factcheck) sections. the premium thing is not a paywall, but login-required pages, and the account is free to use, does not even require confirming the e-mail address.

note that they almost always include more than 1 video inside the text.

example "premium" content: https://tvn24.pl/premium/grzegorz-wierzchowski-lodzki-kurator-oswiaty-mowil-o-wirusie-lgbt-za-co-mogl-stracic-prace-4673299
does not work at all, even for the video showed without logging in:

 ✘ laura@iino  ~  ytdl -v https://tvn24.pl/premium/grzegorz-wierzchowski-lodzki-kurator-oswiaty-mowil-o-wirusie-lgbt-za-co-mogl-stracic-prace-4673299
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://tvn24.pl/premium/grzegorz-wierzchowski-lodzki-kurator-oswiaty-mowil-o-wirusie-lgbt-za-co-mogl-stracic-prace-4673299']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.8.5 (CPython) - Linux-5.7.15_1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[TVN24] grzegorz-wierzchowski-lodzki-kurator-oswiaty-mowil-o-wirusie-lgbt-za-co-mogl-stracic-prace-4673299: Downloading webpage
ERROR: Unable to extract formats; 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 "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/tvn24.py", line 67, in _real_extract
    quality_data = extract_json('data-quality', 'formats')
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/tvn24.py", line 62, in extract_json
    self._search_regex(
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract formats; 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.

example magazine content: https://tvn24.pl/magazyn-tvn24/zrobimy-z-ciebie-mezczyzne,242,4189
only extracts the first video, but there are more of them in the text!:

 ✘ laura@iino  ~  ytdl -v https://tvn24.pl/magazyn-tvn24/zrobimy-z-ciebie-mezczyzne,242,4189
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://tvn24.pl/magazyn-tvn24/zrobimy-z-ciebie-mezczyzne,242,4189']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.8.5 (CPython) - Linux-5.7.15_1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[TVN24] zrobimy-z-ciebie-mezczyzne,242,4189: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://r.dcs.redcdn.pl/https/o2/tvn/web-content/m/p1/v/6f2688a5fce7d48c8d19762b88c32c3b/4d2d9810-b684-42a9-9799-17a93d318181-480p.mp4'
[download] Destination: Zrobimy z ciebie mężczyznę-1895364.mp4
[download] 100% of 29.73MiB in 00:07

example konkret24 content: https://konkret24.tvn24.pl/polska,108/edukatorzy-seksualni-daja-dzieciom-srodki-na-zmiane-plci-twierdzi-rzecznik-praw-dziecka-nie-ma-dowodow,1028522.html

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://konkret24.tvn24.pl/polska,108/edukatorzy-seksualni-daja-dzieciom-srodki-na-zmiane-plci-twierdzi-rzecznik-praw-dziecka-nie-ma-dowodow,1028522.html']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.8.5 (CPython) - Linux-5.7.15_1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[TVN24] edukatorzy-seksualni-daja-dzieciom-srodki-na-zmiane-plci-twierdzi-rzecznik-praw-dziecka-nie-ma-dowodow,1028522.html: Downloading webpage
ERROR: Unable to extract formats; 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 "/home/laura/.local/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/home/laura/.local/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/home/laura/.local/lib/python3.8/site-packages/youtube_dl/extractor/tvn24.py", line 67, in _real_extract
    quality_data = extract_json('data-quality', 'formats')
  File "/home/laura/.local/lib/python3.8/site-packages/youtube_dl/extractor/tvn24.py", line 62, in extract_json
    self._search_regex(
  File "/home/laura/.local/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract formats; 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.
@selfisekai selfisekai changed the title [tvn24] "premium" and magazine content [tvn24] "premium", magazine and konkret24 (factcheck) content Sep 1, 2020
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
1 participant
You can’t perform that action at this time.