]>
jfr.im git - yt-dlp.git/blob - youtube_dl/extractor/tweakers.py
1 from __future__
import unicode_literals
3 from .common
import InfoExtractor
12 class TweakersIE(InfoExtractor
):
13 _VALID_URL
= r
'https?://tweakers\.net/video/(?P<id>\d+)'
15 'url': 'https://tweakers.net/video/9926/new-nintendo-3ds-xl-op-alle-fronten-beter.html',
16 'md5': '3147e4ddad366f97476a93863e4557c8',
20 'title': 'New Nintendo 3DS XL - Op alle fronten beter',
21 'description': 'md5:f97324cc71e86e11c853f0763820e3ba',
22 'thumbnail': 're:^https?://.*\.jpe?g$',
27 def _real_extract(self
, url
):
28 playlist_id
= self
._match
_id
(url
)
29 entries
= self
._extract
_xspf
_playlist
(
30 'https://tweakers.net/video/s1playlist/%s/playlist.xspf' % playlist_id
, playlist_id
)
31 return self
.playlist_result(entries
, playlist_id
)