projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix _TEST for Ustream embed URLs
[youtube-dl]
/
README.md
diff --git
a/README.md
b/README.md
index 1be46430b7ae3fc6211cb7a7ac5ec87fe00d0d18..1ba1486d2d2926259dcdfd2d7ad4fcd987ed1c77 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-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
import re
from .common import InfoExtractor
-
-
+
+
class YourExtractorIE(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',
_TEST = {
'url': 'http://yourextractor.com/watch/42',
'md5': 'TODO: md5 sum of the first 10KiB of the video file',