diff options
author | Sergey M․ <[email protected]> | 2016-09-30 22:30:34 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2016-09-30 22:30:34 +0700 |
commit | de6babf92252ea5828a9c17d76766357cff3e440 (patch) | |
tree | 9b332128f42a7fe0fde44dd90790d8eb942c14db | |
parent | b0582fc80615ec94c37e14015bd9bbfef6745aa4 (diff) | |
download | youtube-dl-de6babf92252ea5828a9c17d76766357cff3e440.tar.gz youtube-dl-de6babf92252ea5828a9c17d76766357cff3e440.zip |
[tvland] Extend _VALID_URL (Closes #10812)
-rw-r--r-- | youtube_dl/extractor/tvland.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/tvland.py b/youtube_dl/extractor/tvland.py index cb76a2a58..957cf1ea2 100644 --- 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' - _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 @@ -28,4 +28,7 @@ class TVLandIE(MTVServicesInfoExtractor): '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, }] |