Need help with REGEX

Halvor Raknes

Member
Joined
Apr 19, 2021
Messages
139
Reaction score
15
Credits
1,081
I am using a tool, yt-dlp, to download multiple video files from e.g. YouTube. I usually download playlist limiting to a certain time interval. Now I want to also be able to limit by file title. I have asked at the yt-dlp site on GitHub and received an answer, however I must not understand how the REGEX format works, so I decided to ask here for some help.

This is the thread where I got an answer.

Here is the command line command that I issued:

$ yt-dlp -f 'bv[height<=720]+ba/b[height<=720]' --match-filter "title ~= (?i)russia" --datebefore 20221109 --dateafter 20221100 https://www.youtube.com/c/MilitaryandForeignAffairsNetwork/videos

and this was the output:

Usage: yt-dlp [OPTIONS] URL [URL...] yt-dlp: error: unconverted data remains: 0
I hope someone can explain what I am doing wrong!
 


Latest posts

Top