[cleanup] Make more playlist entries lazy (#11763)
[yt-dlp.git] / yt_dlp / extractor / cliprs.py
blob42f78cac65860b1b87d338890e4a506eda1b4113
1 from .onet import OnetBaseIE
4 class ClipRsIE(OnetBaseIE):
5 _WORKING = False
6 _VALID_URL = r'https?://(?:www\.)?clip\.rs/(?P<id>[^/]+)/\d+'
7 _TEST = {
8 'url': 'http://www.clip.rs/premijera-frajle-predstavljaju-novi-spot-za-pesmu-moli-me-moli/3732',
9 'md5': 'c412d57815ba07b56f9edc7b5d6a14e5',
10 'info_dict': {
11 'id': '1488842.1399140381',
12 'ext': 'mp4',
13 'title': 'PREMIJERA Frajle predstavljaju novi spot za pesmu Moli me, moli',
14 'description': 'md5:56ce2c3b4ab31c5a2e0b17cb9a453026',
15 'duration': 229,
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
31 return info_dict