aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/wsj.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2017-11-11 00:29:08 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2017-11-11 00:29:08 +0800
commita9543e37c8e460e69a8556c8e5004ebd8e9b4da4 (patch)
tree4b140820a6d8d462df373a327214234f5c5e96bf /youtube_dl/extractor/wsj.py
parent61fb07e156671159353ae19a152926cab277ac87 (diff)
[wsj] Recognize another URL pattern (closes #14704)
Diffstat (limited to 'youtube_dl/extractor/wsj.py')
-rw-r--r--youtube_dl/extractor/wsj.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/wsj.py b/youtube_dl/extractor/wsj.py
index 9b5487710..67236f377 100644
--- a/youtube_dl/extractor/wsj.py
+++ b/youtube_dl/extractor/wsj.py
@@ -13,7 +13,7 @@ class WSJIE(InfoExtractor):
_VALID_URL = r'''(?x)
(?:
https?://video-api\.wsj\.com/api-video/player/iframe\.html\?.*?\bguid=|
- https?://(?:www\.)?(?:wsj|barrons)\.com/video/[^/]+/|
+ https?://(?:www\.)?(?:wsj|barrons)\.com/video/(?:[^/]+/)+|
wsj:
)
(?P<id>[a-fA-F0-9-]{36})
@@ -38,6 +38,9 @@ class WSJIE(InfoExtractor):
}, {
'url': 'http://www.barrons.com/video/capitalism-deserves-more-respect-from-millennials/F301217E-6F46-43AE-B8D2-B7180D642EE9.html',
'only_matching': True,
+ }, {
+ 'url': 'https://www.wsj.com/video/series/a-brief-history-of/the-modern-cell-carrier-how-we-got-here/980E2187-401D-48A1-B82B-1486CEE06CB9',
+ 'only_matching': True,
}]
def _real_extract(self, url):