]>
Raphaël G. Git Repositories - youtubedl/blob - youtube_dl/extractor/trollvids.py
65770562309186acc95c33c2165d3d50ae8f5f36
2 from __future__
import unicode_literals
6 from .nuevo
import NuevoBaseIE
9 class TrollvidsIE(NuevoBaseIE
):
10 _VALID_URL
= r
'https?://(?:www\.)?trollvids\.com/video/(?P<id>\d+)/(?P<display_id>[^/?#&]+)'
13 'url': 'http://trollvids.com/video/2349002/%E3%80%90MMD-R-18%E3%80%91%E3%82%AC%E3%83%BC%E3%83%AB%E3%83%95%E3%83%AC%E3%83%B3%E3%83%89-carrymeoff',
14 'md5': '1d53866b2c514b23ed69e4352fdc9839',
18 'title': '【MMD R-18】ガールフレンド carry_me_off',
24 def _real_extract(self
, url
):
25 mobj
= re
.match(self
._VALID
_URL
, url
)
26 video_id
= mobj
.group('id')
27 display_id
= mobj
.group('display_id')
29 info
= self
._extract
_nuevo
(
30 'http://trollvids.com/nuevo/player/config.php?v=%s' % video_id
,
33 'display_id': display_id
,