1
0
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:
John Hawkinson 2016-10-09 01:31:25 -04:00
parent b9ede2fe9e
commit 8b0c5de724

View File

@ -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)',