1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-09-05 18:39:37 +02:00

[PatreonUser] Do not capture RSS URLs

Closes #1777
This commit is contained in:
pukkandan 2021-11-24 08:28:36 +05:30
parent ff51ed588f
commit 9941a1e127
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View File

@ -191,7 +191,7 @@ def _real_extract(self, url):
class PatreonUserIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?patreon\.com/(?P<id>[-_\w\d]+)/?(?:posts/?)?'
_VALID_URL = r'https?://(?:www\.)?patreon\.com/(?!rss)(?P<id>[-\w]+)'
_TESTS = [{
'url': 'https://www.patreon.com/dissonancepod/',