diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-02-27 07:22:22 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-02-27 07:22:22 +0100 |
commit | f3783d4b77a4d00f6378fff816e0c9a1079f5f55 (patch) | |
tree | ca0b781be30e395cf3f484cd34b5123fc78464fd /youtube_dl/extractor/xhamster.py | |
parent | 89ef304bed55431b6403705a6e634c579ade8883 (diff) | |
parent | 2acea5c03dea6d864fe81fa05d123d113a0a395b (diff) |
Merge branch 'master' of github.com:rg3/youtube-dl
Diffstat (limited to 'youtube_dl/extractor/xhamster.py')
-rw-r--r-- | youtube_dl/extractor/xhamster.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/xhamster.py b/youtube_dl/extractor/xhamster.py index a75e1380d..5374495f9 100644 --- a/youtube_dl/extractor/xhamster.py +++ b/youtube_dl/extractor/xhamster.py @@ -103,6 +103,7 @@ class XHamsterIE(InfoExtractor): }] if not hd: + mrss_url = self._search_regex(r'<link rel="canonical" href="([^"]+)', webpage, 'mrss_url') webpage = self._download_webpage(mrss_url + '?hd', video_id, note='Downloading HD webpage') if is_hd(webpage): video_url = extract_video_url(webpage) |