mirror of https://github.com/yt-dlp/yt-dlp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
877 B
Python
28 lines
877 B
Python
![]()
10 years ago
|
from .common import InfoExtractor
|
||
|
|
||
|
|
||
|
class MyVidsterIE(InfoExtractor):
|
||
![]()
9 years ago
|
_VALID_URL = r'https?://(?:www\.)?myvidster\.com/video/(?P<id>\d+)/'
|
||
![]()
10 years ago
|
|
||
|
_TEST = {
|
||
|
'url': 'http://www.myvidster.com/video/32059805/Hot_chemistry_with_raw_love_making',
|
||
|
'md5': '95296d0231c1363222c3441af62dc4ca',
|
||
|
'info_dict': {
|
||
|
'id': '3685814',
|
||
|
'title': 'md5:7d8427d6d02c4fbcef50fe269980c749',
|
||
|
'upload_date': '20141027',
|
||
![]()
8 years ago
|
'uploader': 'utkualp',
|
||
![]()
10 years ago
|
'ext': 'mp4',
|
||
![]()
10 years ago
|
'age_limit': 18,
|
||
![]()
10 years ago
|
},
|
||
|
'add_ie': ['XHamster'],
|
||
|
}
|
||
|
|
||
|
def _real_extract(self, url):
|
||
|
video_id = self._match_id(url)
|
||
|
webpage = self._download_webpage(url, video_id)
|
||
|
|
||
|
return self.url_result(self._html_search_regex(
|
||
|
r'rel="videolink" href="(?P<real_url>.*)">',
|
||
|
webpage, 'real video url'))
|