]>
Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/myvidster.py
1 from __future__
import unicode_literals
3 from .common
import InfoExtractor
6 class MyVidsterIE(InfoExtractor
):
7 _VALID_URL
= r
'https?://(?:www\.)?myvidster\.com/video/(?P<id>\d+)/'
10 'url': 'http://www.myvidster.com/video/32059805/Hot_chemistry_with_raw_love_making',
11 'md5': '95296d0231c1363222c3441af62dc4ca',
14 'title': 'md5:7d8427d6d02c4fbcef50fe269980c749',
15 'upload_date': '20141027',
16 'uploader': 'utkualp',
20 'add_ie': ['XHamster'],
23 def _real_extract(self
, url
):
24 video_id
= self
._match
_id
(url
)
25 webpage
= self
._download
_webpage
(url
, video_id
)
27 return self
.url_result(self
._html
_search
_regex
(
28 r
'rel="videolink" href="(?P<real_url>.*)">',
29 webpage
, 'real video url'))