]>
Raphaël G. Git Repositories - youtubedl/blob - youtube_dl/extractor/aftenposten.py
0c00acfb5766ad6e899877b8ed173225c10fc4ec
2 from __future__
import unicode_literals
4 from .common
import InfoExtractor
7 class AftenpostenIE(InfoExtractor
):
8 _VALID_URL
= r
'https?://(?:www\.)?aftenposten\.no/webtv/(?:#!/)?video/(?P<id>\d+)'
10 'url': 'http://www.aftenposten.no/webtv/#!/video/21039/trailer-sweatshop-i-can-t-take-any-more',
11 'md5': 'fd828cd29774a729bf4d4425fe192972',
15 'title': 'TRAILER: "Sweatshop" - I can´t take any more',
16 'description': 'md5:21891f2b0dd7ec2f78d84a50e54f8238',
17 'timestamp': 1416927969,
18 'upload_date': '20141125',
22 def _real_extract(self
, url
):
23 return self
.url_result('xstream:ap:%s' % self
._match
_id
(url
), 'Xstream')