aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/InfoExtractors.py
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2013-06-07 12:10:02 +0200
committerFilippo Valsorda <filippo.valsorda@gmail.com>2013-06-07 12:47:12 +0200
commit8b59a9861040482c9af58e85fb397353ea2e8080 (patch)
treee4fe2af9883e7d94177fd62df1317a465d0b3743 /youtube_dl/InfoExtractors.py
parent8409501206e37d57f01e5fe72bfc54a5562e4e0a (diff)
XHamster: Can't see the description anywhere in the UI
Diffstat (limited to 'youtube_dl/InfoExtractors.py')
-rwxr-xr-xyoutube_dl/InfoExtractors.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index 5d54e93e7..0d7db013b 100755
--- a/youtube_dl/InfoExtractors.py
+++ b/youtube_dl/InfoExtractors.py
@@ -4326,9 +4326,10 @@ class XHamsterIE(InfoExtractor):
webpage, u'title')
video_title = unescapeHTML(video_title)
- video_description = self._search_regex(r'<span>Description: </span>(?P<description>[^<]+)',
- webpage, u'description', fatal=False)
- if video_description: video_description = unescapeHTML(video_description)
+ # Can't see the description anywhere in the UI
+ # video_description = self._search_regex(r'<span>Description: </span>(?P<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)
if mobj:
@@ -4348,7 +4349,7 @@ class XHamsterIE(InfoExtractor):
'url': video_url,
'ext': video_extension,
'title': video_title,
- 'description': video_description,
+ # 'description': video_description,
'upload_date': video_upload_date,
'uploader_id': video_uploader_id,
'thumbnail': video_thumbnail