mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[tvland] Extend _VALID_URL (Closes #10812)
This commit is contained in:
parent
b0582fc806
commit
de6babf922
|
@ -6,7 +6,7 @@ from .mtv import MTVServicesInfoExtractor
|
||||||
|
|
||||||
class TVLandIE(MTVServicesInfoExtractor):
|
class TVLandIE(MTVServicesInfoExtractor):
|
||||||
IE_NAME = 'tvland.com'
|
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/'
|
_FEED_URL = 'http://www.tvland.com/feeds/mrss/'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
# Geo-restricted. Without a proxy metadata are still there. With a
|
# Geo-restricted. Without a proxy metadata are still there. With a
|
||||||
|
@ -28,4 +28,7 @@ class TVLandIE(MTVServicesInfoExtractor):
|
||||||
'upload_date': '20151228',
|
'upload_date': '20151228',
|
||||||
'timestamp': 1451289600,
|
'timestamp': 1451289600,
|
||||||
},
|
},
|
||||||
|
}, {
|
||||||
|
'url': 'http://www.tvland.com/full-episodes/iu0hz6/younger-a-kiss-is-just-a-kiss-season-3-ep-301',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
Loading…
Reference in a new issue