2 from __future__ import unicode_literals
4 from .common import InfoExtractor
7 class RestudyIE(InfoExtractor):
8 _VALID_URL = r'https?://(?:www\.)?restudy\.dk/video/play/id/(?P<id>[0-9]+)'
10 'url': 'https://www.restudy.dk/video/play/id/1637',
14 'title': 'Leiden-frosteffekt',
15 'description': 'Denne video er et eksperiment med flydende kvælstof.',
19 'skip_download': True,
23 def _real_extract(self, url):
24 video_id = self._match_id(url)
26 webpage = self._download_webpage(url, video_id)
28 title = self._og_search_title(webpage).strip()
29 description = self._og_search_description(webpage).strip()
31 formats = self._extract_smil_formats(
32 'https://www.restudy.dk/awsmedia/SmilDirectory/video_%s.xml' % video_id,
38 'description': description,