[ie/wistia] Support password-protected videos (#11100)
[yt-dlp3.git] / yt_dlp / extractor / tvland.py
blob481d5eb19e35e9891e041ab150eb834a47be5517
1 from .mtv import MTVServicesInfoExtractor
3 # TODO: Remove - Reason not used anymore - Service moved to youtube
6 class TVLandIE(MTVServicesInfoExtractor):
7 IE_NAME = 'tvland.com'
8 _VALID_URL = r'https?://(?:www\.)?tvland\.com/(?:video-clips|(?:full-)?episodes)/(?P<id>[^/?#.]+)'
9 _FEED_URL = 'http://www.tvland.com/feeds/mrss/'
10 _TESTS = [{
11 # Geo-restricted. Without a proxy metadata are still there. With a
12 # proxy it redirects to http://m.tvland.com/app/
13 'url': 'https://www.tvland.com/episodes/s04pzf/everybody-loves-raymond-the-dog-season-1-ep-19',
14 'info_dict': {
15 'description': 'md5:84928e7a8ad6649371fbf5da5e1ad75a',
16 'title': 'The Dog',
18 'playlist_mincount': 5,
19 'skip': '404 Not found',
20 }, {
21 'url': 'https://www.tvland.com/video-clips/4n87f2/younger-a-first-look-at-younger-season-6',
22 'md5': 'e2c6389401cf485df26c79c247b08713',
23 'info_dict': {
24 'id': '891f7d3c-5b5b-4753-b879-b7ba1a601757',
25 'ext': 'mp4',
26 'title': 'Younger|April 30, 2019|6|NO-EPISODE#|A First Look at Younger Season 6',
27 'description': 'md5:595ea74578d3a888ae878dfd1c7d4ab2',
28 'upload_date': '20190430',
29 'timestamp': 1556658000,
31 'params': {
32 'skip_download': True,
34 }, {
35 'url': 'http://www.tvland.com/full-episodes/iu0hz6/younger-a-kiss-is-just-a-kiss-season-3-ep-301',
36 'only_matching': True,