about summary refs log tree commit diff
path: root/youtube_dl/extractor/pornhub.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-18 22:30:19 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-18 22:30:19 +0600
commit88641243abfdc5673359269574bf7c76191966bc (patch)
tree4cb08d796c58517b9f52d939eadaae81612d6819 /youtube_dl/extractor/pornhub.py
parent40e146aa1e1a8fd57d3f84b0a541174f56fa5dba (diff)
downloadyoutube-dl-88641243abfdc5673359269574bf7c76191966bc.tar.gz
youtube-dl-88641243abfdc5673359269574bf7c76191966bc.tar.xz
youtube-dl-88641243abfdc5673359269574bf7c76191966bc.zip
[pornhub:playlistbase] Improve extract entries
Diffstat (limited to 'youtube_dl/extractor/pornhub.py')
-rw-r--r--youtube_dl/extractor/pornhub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py
index 405dbf006..55af13324 100644
--- a/youtube_dl/extractor/pornhub.py
+++ b/youtube_dl/extractor/pornhub.py
@@ -132,7 +132,7 @@ class PornHubIE(InfoExtractor):
 class PornHubPlaylistBaseIE(InfoExtractor):
     def _extract_entries(self, webpage):
         return [
-            self.url_result('http://www.pornhub.com/%s' % video_url, 'PornHub')
+            self.url_result('http://www.pornhub.com/%s' % video_url, PornHubIE.ie_key())
             for video_url in set(re.findall(
                 r'href="/?(view_video\.php\?.*\bviewkey=[\da-z]+[^"]*)"', webpage))
         ]