Skip to content

Conversation

@tpikonen
Copy link
Contributor

This fixes two problems found when using the youtube-dl plugin with the latest yt-dlp (2023.06.22).

Use 'color': 'no_color' in yt-dlp params instead of 'no_color': True. This prevents warning log output.

The internal member _VALID_URL_RE is now an iterable. Adapt the is_supported_url function and the regex cache code.

This likely breaks compatibility with original youtube-dl.

@tpikonen
Copy link
Contributor Author

Actually it was not too hard to make this compatible with the old version of yt-dlp and youtube-dl. Not tested though.

@computerfreak105
Copy link

computerfreak105 commented Jun 30, 2023 via email

@auouymous auouymous merged commit d575449 into gpodder:master Jun 30, 2023
@auouymous
Copy link
Member

Thank you. fccea8a bumps the required yt-dlp version so those with an older yt-dlp will be told to upgrade when they have trouble with the no_color change.

Youtube-dl can't be tested until they put out a release for the 2023.02.17 youtube.com breakage. It is under active developement, just no releases. At some point we can drop support, but for now we will try to remain compatible and assume all changes work.

@tpikonen tpikonen deleted the yt-dlp-latest branch July 1, 2023 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants