]> jfr.im git - yt-dlp.git/blame - yt_dlp/extractor/tvland.py
Completely change project name to yt-dlp (#85)
[yt-dlp.git] / yt_dlp / extractor / tvland.py
CommitLineData
91e27454 1# coding: utf-8
2from __future__ import unicode_literals
3
e61ac1a0 4from .spike import ParamountNetworkIE
91e27454 5
6f8557ec
U
6# TODO: Remove - Reason not used anymore - Service moved to youtube
7
91e27454 8
e61ac1a0 9class TVLandIE(ParamountNetworkIE):
91e27454 10 IE_NAME = 'tvland.com'
de6babf9 11 _VALID_URL = r'https?://(?:www\.)?tvland\.com/(?:video-clips|(?:full-)?episodes)/(?P<id>[^/?#.]+)'
7f9134fb 12 _FEED_URL = 'http://www.tvland.com/feeds/mrss/'
91e27454 13 _TESTS = [{
a3aa814b
YCH
14 # Geo-restricted. Without a proxy metadata are still there. With a
15 # proxy it redirects to http://m.tvland.com/app/
e61ac1a0 16 'url': 'https://www.tvland.com/episodes/s04pzf/everybody-loves-raymond-the-dog-season-1-ep-19',
a3aa814b 17 'info_dict': {
e61ac1a0
RA
18 'description': 'md5:84928e7a8ad6649371fbf5da5e1ad75a',
19 'title': 'The Dog',
a3aa814b 20 },
e61ac1a0 21 'playlist_mincount': 5,
91e27454 22 }, {
e61ac1a0 23 'url': 'https://www.tvland.com/video-clips/4n87f2/younger-a-first-look-at-younger-season-6',
91e27454 24 'md5': 'e2c6389401cf485df26c79c247b08713',
25 'info_dict': {
e61ac1a0 26 'id': '891f7d3c-5b5b-4753-b879-b7ba1a601757',
91e27454 27 'ext': 'mp4',
e61ac1a0
RA
28 'title': 'Younger|April 30, 2019|6|NO-EPISODE#|A First Look at Younger Season 6',
29 'description': 'md5:595ea74578d3a888ae878dfd1c7d4ab2',
30 'upload_date': '20190430',
31 'timestamp': 1556658000,
32 },
33 'params': {
34 'skip_download': True,
91e27454 35 },
de6babf9
S
36 }, {
37 'url': 'http://www.tvland.com/full-episodes/iu0hz6/younger-a-kiss-is-just-a-kiss-season-3-ep-301',
38 'only_matching': True,
91e27454 39 }]