1 from .onet
import OnetBaseIE
4 class ClipRsIE(OnetBaseIE
):
6 _VALID_URL
= r
'https?://(?:www\.)?clip\.rs/(?P<id>[^/]+)/\d+'
8 'url': 'http://www.clip.rs/premijera-frajle-predstavljaju-novi-spot-za-pesmu-moli-me-moli/3732',
9 'md5': 'c412d57815ba07b56f9edc7b5d6a14e5',
11 'id': '1488842.1399140381',
13 'title': 'PREMIJERA Frajle predstavljaju novi spot za pesmu Moli me, moli',
14 'description': 'md5:56ce2c3b4ab31c5a2e0b17cb9a453026',
16 'timestamp': 1459850243,
17 'upload_date': '20160405',
21 def _real_extract(self
, url
):
22 display_id
= self
._match
_id
(url
)
24 webpage
= self
._download
_webpage
(url
, display_id
)
26 mvp_id
= self
._search
_mvp
_id
(webpage
)
28 info_dict
= self
._extract
_from
_id
(mvp_id
, webpage
)
29 info_dict
['display_id'] = display_id