projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b0582fc
)
[tvland] Extend _VALID_URL (Closes #10812)
author
Sergey M․
<dstftw@gmail.com>
Fri, 30 Sep 2016 15:30:34 +0000
(22:30 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 30 Sep 2016 15:30:34 +0000
(22:30 +0700)
youtube_dl/extractor/tvland.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tvland.py
b/youtube_dl/extractor/tvland.py
index cb76a2a583912d120faa81bcbcb17fa136a95eeb..957cf1ea2666ace07087ffd7d9e94810e87fe1e8 100644
(file)
--- a/
youtube_dl/extractor/tvland.py
+++ b/
youtube_dl/extractor/tvland.py
@@
-6,7
+6,7
@@
from .mtv import MTVServicesInfoExtractor
class TVLandIE(MTVServicesInfoExtractor):
IE_NAME = 'tvland.com'
class TVLandIE(MTVServicesInfoExtractor):
IE_NAME = 'tvland.com'
- _VALID_URL = r'https?://(?:www\.)?tvland\.com/(?:video-clips|episodes)/(?P<id>[^/?#.]+)'
+ _VALID_URL = r'https?://(?:www\.)?tvland\.com/(?:video-clips|
(?:full-)?
episodes)/(?P<id>[^/?#.]+)'
_FEED_URL = 'http://www.tvland.com/feeds/mrss/'
_TESTS = [{
# Geo-restricted. Without a proxy metadata are still there. With a
_FEED_URL = 'http://www.tvland.com/feeds/mrss/'
_TESTS = [{
# Geo-restricted. Without a proxy metadata are still there. With a
@@
-28,4
+28,7
@@
class TVLandIE(MTVServicesInfoExtractor):
'upload_date': '20151228',
'timestamp': 1451289600,
},
'upload_date': '20151228',
'timestamp': 1451289600,
},
+ }, {
+ 'url': 'http://www.tvland.com/full-episodes/iu0hz6/younger-a-kiss-is-just-a-kiss-season-3-ep-301',
+ 'only_matching': True,
}]
}]