diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-06-25 02:14:10 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-06-25 02:15:35 +0700 |
commit | fd9ee4de8c3aa640d51c5ff42f5d8241970e894d (patch) | |
tree | 85b9fbedc964619b17a6e0cbbcc78db704f41767 /youtube_dl/extractor | |
parent | 5744cf6c03e6f89914d44be7c5d77fca3b121bef (diff) |
[wsj] Add support for barrons.com (closes #13470)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/wsj.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/wsj.py b/youtube_dl/extractor/wsj.py index 45cfca7c5..9b5487710 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\.com/video/[^/]+/| + https?://(?:www\.)?(?:wsj|barrons)\.com/video/[^/]+/| wsj: ) (?P<id>[a-fA-F0-9-]{36}) @@ -35,6 +35,9 @@ class WSJIE(InfoExtractor): }, { 'url': 'http://www.wsj.com/video/can-alphabet-build-a-smarter-city/359DDAA8-9AC1-489C-82E6-0429C1E430E0.html', 'only_matching': True, + }, { + 'url': 'http://www.barrons.com/video/capitalism-deserves-more-respect-from-millennials/F301217E-6F46-43AE-B8D2-B7180D642EE9.html', + 'only_matching': True, }] def _real_extract(self, url): |