mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-02-17 01:17:54 +01:00
Recommend case-insentitive _VALID_URL matching
This commit is contained in:
parent
b9ede2fe9e
commit
8b0c5de724
@ -954,7 +954,7 @@ After you have ensured this site is distributing it's content legally, you can f
|
||||
|
||||
|
||||
class YourExtractorIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:www\.)?yourextractor\.com/watch/(?P<id>[0-9]+)'
|
||||
_VALID_URL = r'(?i)https?://(?:www\.)?yourextractor\.com/watch/(?P<id>[0-9]+)'
|
||||
_TEST = {
|
||||
'url': 'http://yourextractor.com/watch/42',
|
||||
'md5': 'TODO: md5 sum of the first 10241 bytes of the video file (use --test)',
|
||||
|
Loading…
Reference in New Issue
Block a user