projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0d427c8
)
[24video] Add support for 24video.tube (closes #12217)
author
Sergey M․
<dstftw@gmail.com>
Wed, 22 Feb 2017 14:19:52 +0000
(21:19 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 22 Feb 2017 14:19:52 +0000
(21:19 +0700)
youtube_dl/extractor/twentyfourvideo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/twentyfourvideo.py
b/youtube_dl/extractor/twentyfourvideo.py
index a983ebf05ac512242415a3052fbd172668ff060e..f3541b6540c2b772afbc2d89d097f75ac531a2b3 100644
(file)
--- a/
youtube_dl/extractor/twentyfourvideo.py
+++ b/
youtube_dl/extractor/twentyfourvideo.py
@@
-12,7
+12,7
@@
from ..utils import (
class TwentyFourVideoIE(InfoExtractor):
IE_NAME = '24video'
class TwentyFourVideoIE(InfoExtractor):
IE_NAME = '24video'
- _VALID_URL = r'https?://(?:www\.)?24video\.(?:net|me|xxx|sex)/(?:video/(?:view|xml)/|player/new24_play\.swf\?id=)(?P<id>\d+)'
+ _VALID_URL = r'https?://(?:www\.)?24video\.(?:net|me|xxx|sex
|tube
)/(?:video/(?:view|xml)/|player/new24_play\.swf\?id=)(?P<id>\d+)'
_TESTS = [{
'url': 'http://www.24video.net/video/view/1044982',
_TESTS = [{
'url': 'http://www.24video.net/video/view/1044982',
@@
-37,6
+37,9
@@
class TwentyFourVideoIE(InfoExtractor):
}, {
'url': 'http://www.24video.me/video/view/1044982',
'only_matching': True,
}, {
'url': 'http://www.24video.me/video/view/1044982',
'only_matching': True,
+ }, {
+ 'url': 'http://www.24video.tube/video/view/2363750',
+ 'only_matching': True,
}]
def _real_extract(self, url):
}]
def _real_extract(self, url):