diff --git a/README.md b/README.md index 1be46430b7..1ba1486d2d 100644 --- a/README.md +++ b/README.md @@ -384,10 +384,10 @@ ### Adding support for a new site import re from .common import InfoExtractor - - + + class YourExtractorIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)yourextractor\.com/watch/(?P[0-9]+)' + _VALID_URL = r'https?://(?:www\.)?yourextractor\.com/watch/(?P[0-9]+)' _TEST = { 'url': 'http://yourextractor.com/watch/42', 'md5': 'TODO: md5 sum of the first 10KiB of the video file',