diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-04-03 23:25:23 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-04-03 23:25:23 +0200 |
commit | 52a180684f66d8c7b5607c99dd5b11f6c0273ee1 (patch) | |
tree | 6c51c5199ecb3114b68a9a3c797e5203f8f1059a | |
parent | b21e25702f05018b64064b4aec9007e6e383b476 (diff) |
[README] Fix VALID_URL in extractor example
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -384,10 +384,10 @@ If you want to add support for a new site, you can follow this quick list (assum import re from .common import InfoExtractor - - + + class YourExtractorIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)yourextractor\.com/watch/(?P<id>[0-9]+)' + _VALID_URL = r'https?://(?:www\.)?yourextractor\.com/watch/(?P<id>[0-9]+)' _TEST = { 'url': 'http://yourextractor.com/watch/42', 'md5': 'TODO: md5 sum of the first 10KiB of the video file', |