mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 23:26:53 +01:00
XHamster: Can't see the description anywhere in the UI
This commit is contained in:
parent
8409501206
commit
8b59a98610
@ -4326,9 +4326,10 @@ def _real_extract(self,url):
|
|||||||
webpage, u'title')
|
webpage, u'title')
|
||||||
video_title = unescapeHTML(video_title)
|
video_title = unescapeHTML(video_title)
|
||||||
|
|
||||||
video_description = self._search_regex(r'<span>Description: </span>(?P<description>[^<]+)',
|
# Can't see the description anywhere in the UI
|
||||||
webpage, u'description', fatal=False)
|
# video_description = self._search_regex(r'<span>Description: </span>(?P<description>[^<]+)',
|
||||||
if video_description: video_description = unescapeHTML(video_description)
|
# webpage, u'description', fatal=False)
|
||||||
|
# if video_description: video_description = unescapeHTML(video_description)
|
||||||
|
|
||||||
mobj = re.search(r'hint=\'(?P<upload_date_Y>[0-9]{4})-(?P<upload_date_m>[0-9]{2})-(?P<upload_date_d>[0-9]{2}) [0-9]{2}:[0-9]{2}:[0-9]{2} [A-Z]{3,4}\'', webpage)
|
mobj = re.search(r'hint=\'(?P<upload_date_Y>[0-9]{4})-(?P<upload_date_m>[0-9]{2})-(?P<upload_date_d>[0-9]{2}) [0-9]{2}:[0-9]{2}:[0-9]{2} [A-Z]{3,4}\'', webpage)
|
||||||
if mobj:
|
if mobj:
|
||||||
@ -4348,7 +4349,7 @@ def _real_extract(self,url):
|
|||||||
'url': video_url,
|
'url': video_url,
|
||||||
'ext': video_extension,
|
'ext': video_extension,
|
||||||
'title': video_title,
|
'title': video_title,
|
||||||
'description': video_description,
|
# 'description': video_description,
|
||||||
'upload_date': video_upload_date,
|
'upload_date': video_upload_date,
|
||||||
'uploader_id': video_uploader_id,
|
'uploader_id': video_uploader_id,
|
||||||
'thumbnail': video_thumbnail
|
'thumbnail': video_thumbnail
|
||||||
|
Loading…
Reference in New Issue
Block a user