aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-06-13 03:39:14 +0600
committerSergey M․ <dstftw@gmail.com>2015-06-13 03:39:14 +0600
commit78e2b74bb945dc7f1724f7486405dd523486d634 (patch)
tree020aab8df00fe954377dc70fedf17ee411bfc405 /youtube_dl/extractor/generic.py
parent65d161c480e9964026e618a2e95f9fc9eb8119e7 (diff)
[tumblr] Add support for pornhub embeds (Closes #5963)
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index f683760e4..f6b984300 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -1322,6 +1322,7 @@ class GenericIE(InfoExtractor):
if sportbox_urls:
return _playlist_from_matches(sportbox_urls, ie='SportBoxEmbed')
+ # Look for embedded PornHub player
pornhub_url = PornHubIE._extract_url(webpage)
if pornhub_url:
return self.url_result(pornhub_url, 'PornHub')