Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
--match-filter parsing with spaces or dashes #8050
Comments
|
It looks like a simple change to the regex will add this functionality. Change line 1930 in utils.py from
to
This will allow whitespaces and dashes to be considered part of a strval. |
|
I've had a similar problem, but instead of '-', '_' was causing an exception. EDIT: Sometimes ids start with a number. Currently, when excluding such ids with |
How do I use --match-filter to match this youtube channel?
Does it support spaces or hyphens in the string?
This is the uploader and uploader_ID from the json dump for one of the videos.
For uploader, it will either not match spaces properly (breaking them into separate tokens) or just not match.
For uploader_id, I get this error:
I know I can specify the channel in the video URL, but I want to use my subscription list and pick the video format depending on the channel. I don't want to unsubscribe from these channels. I need to exclude those channels with the last catch-all download line in the script using match-format "uploader != xxxx & uploader != xxxx & uploader != xxxx "
Here is that part of my script: