1 from .onet
import OnetBaseIE
4 class VODPlIE(OnetBaseIE
):
5 _VALID_URL
= r
'https?://vod\.pl/(?:[^/]+/)+(?P<id>[0-9a-zA-Z]+)'
8 'url': 'https://vod.pl/filmy/chlopaki-nie-placza/3ep3jns',
9 'md5': 'a7dc3b2f7faa2421aefb0ecaabf7ec74',
13 'title': 'Chłopaki nie płaczą',
14 'description': 'md5:f5f03b84712e55f5ac9f0a3f94445224',
15 'timestamp': 1463415154,
17 'upload_date': '20160516',
20 'url': 'https://vod.pl/seriale/belfer-na-planie-praca-kamery-online/2c10heh',
21 'only_matching': True,
24 def _real_extract(self
, url
):
25 video_id
= self
._match
_id
(url
)
26 webpage
= self
._download
_webpage
(url
, video_id
)
27 info_dict
= self
._extract
_from
_id
(self
._search
_mvp
_id
(webpage
), webpage
)
28 info_dict
['id'] = video_id