projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e384552
)
[mtv] Improve _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Tue, 27 Sep 2016 15:27:10 +0000
(22:27 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 27 Sep 2016 15:27:10 +0000
(22:27 +0700)
youtube_dl/extractor/mtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mtv.py
b/youtube_dl/extractor/mtv.py
index 2e9580b103430dedd718134159fddbecd4a12ad3..74a3a035e771803154b6685fcd4cbfd3dbb20a9b 100644
(file)
--- a/
youtube_dl/extractor/mtv.py
+++ b/
youtube_dl/extractor/mtv.py
@@
-271,7
+271,7
@@
class MTVServicesEmbeddedIE(MTVServicesInfoExtractor):
class MTVIE(MTVServicesInfoExtractor):
IE_NAME = 'mtv'
- _VALID_URL = r'https?://(?:www\.)?mtv\.com/(video-clips|full-episodes)/(?P<id>[^/?#.]+)'
+ _VALID_URL = r'https?://(?:www\.)?mtv\.com/(
?:
video-clips|full-episodes)/(?P<id>[^/?#.]+)'
_FEED_URL = 'http://www.mtv.com/feeds/mrss/'
_TESTS = [{