dirkf
dirkf
Decoding the stringified JSON is no problem: ```py def _extract_yt_initial_variable(self, webpage, regex, video_id, name): result = self._search_json( regex, webpage, name, video_id, default={}, contains_pattern=r'(?:\{[\s\S]+}|(?P"|\')(?:(?!(?P=_q))[\s\S])+(?P=_q))', end_pattern=r';\s*%s' % (self._YT_INITIAL_BOUNDARY_RE,), transform_source=lambda s: self._parse_json( s,...
The comments from 2012 regarding download speed that began this issue are out of date. yt-dl's YouTube download speeds have been fixed, broken and fixed again many times since then.
This is the same error that occurs when not logged in and/or not in Canada (regardless of geo-bypass). It should be detected. What happens using logged-in browser cookies instead of...
Indeed, 404 is its status. No similar API URLs (`.../v3/...`, say) came up in the scripts from the problem page. Separately, for anyone updating the extractor module, test_CBC_4 (Keep Rover...
The original page is 404, but the page from #12121 is up. From the UK, this block gets the trailer, which is playable without geo-restriction, subscription or DRM: ```py ......
I thought that the 1st API had been updated already, but it was a WIP on the travel laptop. Here's a full diff to master: ```diff --- old/yt-dlp/yt_dlp/extractor/cbc.py +++ new/yt-dlp/yt_dlp/extractor/cbc.py...
Patch above doesn't address: 1. whether the login procedure with email and password generating the `claims_token` still works, and/or whether logged-in status is saved in browser cookies. 2. the playlist...
Check out #12326.
You should explain what you mean by "works". That message means that you are piping through `stdout` (as it says) but the formats resulting from your format selection (614+140, for...
The [`-S ...` option](https://github.com/yt-dlp/yt-dlp/issues/12343#issuecomment-2654543520) gives formats 137+140 with container format MPEG-TS, which is forced since MP4 requires a seekable output stream (as you can see if you use the failing...