summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2017-10-16 05:11:25 +0700
committerSergey M․ <[email protected]>2017-10-16 05:11:25 +0700
commitacc4ea6237f7a2c7d923eca5b004aefbb6a6a766 (patch)
treeab1523d429de65c6f16811acea058e365fd0cbd4
parent8cc1840ccb2f17837fc7f12ceea91826eb925ecc (diff)
downloadyoutube-dl-acc4ea6237f7a2c7d923eca5b004aefbb6a6a766.tar.gz
youtube-dl-acc4ea6237f7a2c7d923eca5b004aefbb6a6a766.zip
[eporner] Add support for embed URLs (closes #14507)
-rw-r--r--youtube_dl/extractor/eporner.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/eporner.py b/youtube_dl/extractor/eporner.py
index f3734e9f8..81f2e2ee1 100644
--- a/youtube_dl/extractor/eporner.py
+++ b/youtube_dl/extractor/eporner.py
@@ -15,7 +15,7 @@ from ..utils import (
class EpornerIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?eporner\.com/hd-porn/(?P<id>\w+)(?:/(?P<display_id>[\w-]+))?'
+ _VALID_URL = r'https?://(?:www\.)?eporner\.com/(?:hd-porn|embed)/(?P<id>\w+)(?:/(?P<display_id>[\w-]+))?'
_TESTS = [{
'url': 'http://www.eporner.com/hd-porn/95008/Infamous-Tiffany-Teen-Strip-Tease-Video/',
'md5': '39d486f046212d8e1b911c52ab4691f8',
@@ -35,6 +35,9 @@ class EpornerIE(InfoExtractor):
}, {
'url': 'http://www.eporner.com/hd-porn/3YRUtzMcWn0',
'only_matching': True,
+ }, {
+ 'url': 'http://www.eporner.com/hd-porn/3YRUtzMcWn0',
+ 'only_matching': True,
}]
def _real_extract(self, url):