aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-01-09 00:36:19 +0600
committerSergey M․ <dstftw@gmail.com>2016-01-09 00:36:19 +0600
commitbcac2a071040fd89585a806ca66e086c109406c1 (patch)
tree4548fc06a83ad6c18893ab34507a0907b495add9 /youtube_dl/extractor
parent1a6d92847f4e5fe1d94f2f159f903a414d5ff62c (diff)
[xhamster] Fix uploader extraction
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/xhamster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/xhamster.py b/youtube_dl/extractor/xhamster.py
index c9108c345..981ee284f 100644
--- a/youtube_dl/extractor/xhamster.py
+++ b/youtube_dl/extractor/xhamster.py
@@ -78,7 +78,7 @@ class XHamsterIE(InfoExtractor):
webpage, 'upload date', fatal=False))
uploader = self._html_search_regex(
- r"<a href='[^']+xhamster\.com/user/[^>]+>(?P<uploader>[^<]+)",
+ r'<span[^>]+itemprop=["\']author[^>]+><a[^>]+href=["\'].+?xhamster\.com/user/[^>]+>(?P<uploader>.+?)</a>',
webpage, 'uploader', default='anonymous')
thumbnail = self._search_regex(