]>
Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/trutube.py
d55e0c563998bb1f4c38b973519ec420b6b41a8c
1 from __future__
import unicode_literals
3 from .nuevo
import NuevoBaseIE
6 class TruTubeIE(NuevoBaseIE
):
7 _VALID_URL
= r
'https?://(?:www\.)?trutube\.tv/(?:video/|nuevo/player/embed\.php\?v=)(?P<id>\d+)'
9 'url': 'http://trutube.tv/video/14880/Ramses-II-Proven-To-Be-A-Red-Headed-Caucasoid-',
10 'md5': 'c5b6e301b0a2040b074746cbeaa26ca1',
14 'title': 'Ramses II - Proven To Be A Red Headed Caucasoid',
15 'thumbnail': 're:^http:.*\.jpg$',
18 'url': 'https://trutube.tv/nuevo/player/embed.php?v=14880',
19 'only_matching': True,
22 def _real_extract(self
, url
):
23 video_id
= self
._match
_id
(url
)
24 return self
._extract
_nuevo
(
25 'https://trutube.tv/nuevo/player/config.php?v=%s' % video_id
,