mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-22 00:52:56 +08:00
[spankbang] Fix description and uploader (closes #10339)
This commit is contained in:
parent
c1f62dd338
commit
dc2c37f316
@ -1,6 +1,7 @@
|
|||||||
version <unreleased>
|
version <unreleased>
|
||||||
|
|
||||||
Extractors
|
Extractors
|
||||||
|
* [spankbang] Fix description and uploader (#10339)
|
||||||
* [mtvservices:embedded] Fix extraction for the new 'edge' player (#10363)
|
* [mtvservices:embedded] Fix extraction for the new 'edge' player (#10363)
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ class SpankBangIE(InfoExtractor):
|
|||||||
'id': '3vvn',
|
'id': '3vvn',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'fantasy solo',
|
'title': 'fantasy solo',
|
||||||
'description': 'dillion harper masturbates on a bed',
|
'description': 'Watch fantasy solo free HD porn video - 05 minutes - dillion harper masturbates on a bed free adult movies.',
|
||||||
'thumbnail': 're:^https?://.*\.jpg$',
|
'thumbnail': 're:^https?://.*\.jpg$',
|
||||||
'uploader': 'silly2587',
|
'uploader': 'silly2587',
|
||||||
'age_limit': 18,
|
'age_limit': 18,
|
||||||
@ -44,12 +44,10 @@ class SpankBangIE(InfoExtractor):
|
|||||||
|
|
||||||
title = self._html_search_regex(
|
title = self._html_search_regex(
|
||||||
r'(?s)<h1[^>]*>(.+?)</h1>', webpage, 'title')
|
r'(?s)<h1[^>]*>(.+?)</h1>', webpage, 'title')
|
||||||
description = self._search_regex(
|
description = self._og_search_description(webpage)
|
||||||
r'class="desc"[^>]*>([^<]+)',
|
|
||||||
webpage, 'description', default=None)
|
|
||||||
thumbnail = self._og_search_thumbnail(webpage)
|
thumbnail = self._og_search_thumbnail(webpage)
|
||||||
uploader = self._search_regex(
|
uploader = self._search_regex(
|
||||||
r'class="user"[^>]*>([^<]+)',
|
r'class="user"[^>]*><img[^>]+>([^<]+)',
|
||||||
webpage, 'uploader', fatal=False)
|
webpage, 'uploader', fatal=False)
|
||||||
|
|
||||||
age_limit = self._rta_search(webpage)
|
age_limit = self._rta_search(webpage)
|
||||||
|
Loading…
Reference in New Issue
Block a user