dirkf
dirkf
Is it the case that 1. you had the problem with nightly 2025.02.07 2. recent _yt-dlp_ (which?) did not show the problem? If so, verbose logs could be interesting. Also,...
Continued in #33142.
Apparently fixed in upstream PR https://github.com/ytdl-org/youtube-dl/pull/32944.
There is a PR (proposed change set) that happens to solve your problem for the original _youtube_dl_ project. Once that PR is accepted (the author will be making the decision),...
[craftpag commented Mar 17, 2024](https://github.com/ytdl-org/youtube-dl/issues/14960#issuecomment-2002651220): >since you have mentioned: >Single video: http://www.dplay.no/praktisk-info-med-jon-almaas/season-1-episode-1/ >Single video: http://www.dplay.no/neste-sommer/season-1-episode-1-gratis/ >Playlist: http://www.dplay.no/praktisk-info-med-jon-almaas/ >Playlist: http://www.dplay.no/neste-sommer/ > >A while ago, do you have a new solution to...
>...os.replace on Windows uses MoveFileEx,... As well as `os.replace()`, there is now also `pathlib.Path.replace()`, but at least in CPython 3.12 this just wraps `os.replace()`. Thus, all the Python library APIs...
> Some copycats of it can be found when searching for the video id string in youtube. A more appropriate way of searching ... ```console $ yt-dlp 'ytsearch10:BaW_jenozKc' --flat-playlist --print...
Work-around (Windows quotes, '' for Unix-like systems): ```shell --parse-metadata "webpage_url_basename:boy-girl-dog-cat-mouse-cheese-series-(?P\d+)-(?P\d+)(?:-[\w]+)*" ``` Eg: ```ShellSession $ yt-dlp --parse-metadata "webpage_url_basename:boy-girl-dog-cat-mouse-cheese-series-(?P\d+)-(?P\d+)(?:-[\w]+)*" --output "%(title)s S%(season_number).02dE%(episode_number).02d (%(duration)ss) [%(resolution)s] [%(id)s].%(ext)s" --get-filename 'https://www.bbc.co.uk/iplayer/episode/m000kclt/boy-girl-dog-cat-mouse-cheese-series-1-37-putt-putt-pals' Boy Girl Dog Cat Mouse...
>The solution suggested above does not work for playlists that don't have the Episode number in the title. It's the `webpage_url_basename` that had to have a suitable format (possibly related...
The point was that if an extractor fails to populate season/series/episode fields but they can be found embedded in some other fields, the solution using `--parse-metadata ...` can generally be...