Open bluenitepk opened 1 year ago
If you want yt-dlp updated, ask here: https://github.com/yt-dlp/yt-dlp/issues/6539 (and see #30839 again).
As you see, it's a known issue that both projects are working on.
I see, thx a lot for a message
yt-dl work-in-progress:
$ python -m youtube_dl -F -v 'https://www.ceskatelevize.cz/porady/11781961862-barokni-srdce-evropy/217562263110001/'
[debug] System config: [u'--prefer-ffmpeg']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-F', u'-v', u'https://www.ceskatelevize.cz/porady/11781961862-barokni-srdce-evropy/217562263110001/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 6fece0a96
[debug] Python version 2.7.18 (CPython) - Linux-4.4.0-210-generic-i686-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 4.3, avprobe 4.3, ffmpeg 4.3, ffprobe 4.3
[debug] Proxy map: {}
[CeskaTelevize] Extracting URL: https://www.ceskatelevize.cz/porady/11781961862-barokni-srdce-evropy/217562263110001/
[CeskaTelevize] 11781961862: Downloading webpage
[CeskaTelevize] 11781961862: Downloading JSON metadata
[CeskaTelevize] 11781961862: Downloading JSON metadata
[CeskaTelevize] 11781961862: Downloading MPD manifest
[CeskaTelevize] 11781961862: Downloading MPD manifest
[CeskaTelevize] 11781961862: Downloading JSON metadata
[CeskaTelevize] 11781961862: Downloading JSON metadata
[CeskaTelevize] 11781961862: Downloading m3u8 information
[CeskaTelevize] 11781961862: Downloading m3u8 information
[download] Downloading playlist: Barokní srdce Evropy
[CeskaTelevize] playlist Barokní srdce Evropy: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[info] Available formats for 61924494877706695:
format code extension resolution note
hls-audioDescription-128 mp4 audio only 128k , mp4a.40@128k
dash-audioDescription-1002-1507 m4a audio only [que] DASH audio 128k , m4a_dash container, mp4a.40.2@128k (48000Hz)
dash-main-1002-1504 m4a audio only [ces] DASH audio 128k , m4a_dash container, mp4a.40.2@128k (48000Hz)
dash-main-1001-1502 mp4 512x288 DASH video 500k , mp4_dash container, avc1.4d4015@ 500k, video only
dash-audioDescription-1001-1507 mp4 720x404 DASH video 1024k , mp4_dash container, avc1.4d401e@1024k, video only
dash-main-1001-1503 mp4 720x404 DASH video 1032k , mp4_dash container, avc1.4d401e@1032k, video only
dash-main-1001-1504 mp4 1024x576 DASH video 2048k , mp4_dash container, avc1.4d401f@2048k, video only
dash-main-1001-1505 mp4 1280x720 DASH video 3584k , mp4_dash container, avc1.4d401f@3584k, video only
dash-main-1001-1506 mp4 1920x1080 DASH video 6144k , mp4_dash container, avc1.4d4028@6144k, video only
hls-main-628 mp4 unknown 628k video@ 628k, audio@ 0k
hls-audioDescription-1152 mp4 unknown 1152k video@1152k, audio@ 0k
hls-main-1160 mp4 unknown 1160k video@1160k, audio@ 0k
hls-main-2176 mp4 unknown 2176k video@2176k, audio@ 0k
hls-main-3712 mp4 unknown 3712k video@3712k, audio@ 0k
hls-main-6272 mp4 unknown 6272k video@6272k, audio@ 0k (best)
[download] Finished downloading playlist: Barokní srdce Evropy
$
Test 4 is problematic. It's an episode of the series Queer, with a trailer. The extractor used to produce a playlist containing both the trailer and the episode. However, although the trailer is still in the API results, I don't see a sign of it in the current programme page https://www.ceskatelevize.cz/porady/10520528904-queer/215562210900007/.
What do CZ viewers think?
Not sure what do you mean, but in previous YT-DLP version for some content grabbed also two MP4 files, first was some short file containing some info warning. I meant the short video where is written something like "Tento obsah neni vhodny pro deti a mladistvy" (some warning that the content is not intended for children or adolescents). But it was "not" embeded in target file.
You are reffering really in pre-content https://www.ceskatelevize.cz/porady/10520528904-queer/215562210900007/ to completely something else in fact. Really Trailer. They started to used them some time ago.
is it just that this test page is quite old? Answer: Even 2023 has this see content for 2023 (broadcasted yesterday Firday 31.3.2023) https://www.ceskatelevize.cz/porady/14682495917-v-karavanu-po-madarsku/221544160180004/
do new shows have trailers with URLs or JS page links? Answer: not sure how trailers are included, but they are usually for completely different content topic / movie / shows / series etc. If possible would be really nice to get rid of them from the target file.
should the trailer be included if found even if not requested? Answer: No please, this trailers are in fact rubbish. We prefer clean content without this trailers
Note: and if you are interested to test downloads of DRM protected file https://www.ceskatelevize.cz/porady/898901-dobrodruzstvi-kriminalistiky/200353910560005/
i mean yt-dlp --allow-u "url"
Thanks for the test URLs.
A trailer would be included in a playlist together with the main content. With the right metadata definitions, trailers could be removed systematically using --match-filter ...
, even by requiring duration > 60s, say. My concern is that, as trailers don't seem to be separately accessible (through their own dedicated URLs), there would be no way to extract them if they weren't included in the playlist result.
There may also be links to "related shows", recommendations, that weren't and won't be included.
You know how to fix the bug? As we are unable currently to use yt-dlp to download content from ceskatelevize.cz
Checklist
Region
Czech Republic
Verbose log
Description
Hello, Ceska Televize updated their platform and the extractor is unable to fetch anything anymore. Pls update yt-dlp for this domain. thx a lot