]>
Commit | Line | Data |
---|---|---|
91e27454 | 1 | # coding: utf-8 |
2 | from __future__ import unicode_literals | |
3 | ||
7f9134fb | 4 | from .mtv import MTVServicesInfoExtractor |
91e27454 | 5 | |
6 | ||
7f9134fb | 7 | class TVLandIE(MTVServicesInfoExtractor): |
91e27454 | 8 | IE_NAME = 'tvland.com' |
de6babf9 | 9 | _VALID_URL = r'https?://(?:www\.)?tvland\.com/(?:video-clips|(?:full-)?episodes)/(?P<id>[^/?#.]+)' |
7f9134fb | 10 | _FEED_URL = 'http://www.tvland.com/feeds/mrss/' |
91e27454 | 11 | _TESTS = [{ |
a3aa814b YCH |
12 | # Geo-restricted. Without a proxy metadata are still there. With a |
13 | # proxy it redirects to http://m.tvland.com/app/ | |
91e27454 | 14 | 'url': 'http://www.tvland.com/episodes/hqhps2/everybody-loves-raymond-the-invasion-ep-048', |
a3aa814b YCH |
15 | 'info_dict': { |
16 | 'description': 'md5:80973e81b916a324e05c14a3fb506d29', | |
17 | 'title': 'The Invasion', | |
18 | }, | |
19 | 'playlist': [], | |
91e27454 | 20 | }, { |
21 | 'url': 'http://www.tvland.com/video-clips/zea2ev/younger-younger--hilary-duff---little-lies', | |
22 | 'md5': 'e2c6389401cf485df26c79c247b08713', | |
23 | 'info_dict': { | |
24 | 'id': 'b8697515-4bbe-4e01-83d5-fa705ce5fa88', | |
25 | 'ext': 'mp4', | |
a3aa814b YCH |
26 | 'title': 'Younger|December 28, 2015|2|NO-EPISODE#|Younger: Hilary Duff - Little Lies', |
27 | 'description': 'md5:7d192f56ca8d958645c83f0de8ef0269', | |
28 | 'upload_date': '20151228', | |
29 | 'timestamp': 1451289600, | |
91e27454 | 30 | }, |
de6babf9 S |
31 | }, { |
32 | 'url': 'http://www.tvland.com/full-episodes/iu0hz6/younger-a-kiss-is-just-a-kiss-season-3-ep-301', | |
33 | 'only_matching': True, | |
91e27454 | 34 | }] |