projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
228c1d6
)
[jwplatform] Improve embeds extraction (closes #25467)
author
Sergey M․
<dstftw@gmail.com>
Sun, 31 May 2020 04:10:31 +0000
(11:10 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 31 May 2020 04:10:31 +0000
(11:10 +0700)
youtube_dl/extractor/jwplatform.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/jwplatform.py
b/youtube_dl/extractor/jwplatform.py
index 2aabd98b5bbaf36efecdc76415bf52854705bd1e..dfa07e42354b62044e8587e41c46163693d50107 100644
(file)
--- a/
youtube_dl/extractor/jwplatform.py
+++ b/
youtube_dl/extractor/jwplatform.py
@@
-32,7
+32,7
@@
class JWPlatformIE(InfoExtractor):
@staticmethod
def _extract_urls(webpage):
return re.findall(
- r'<(?:script|iframe)[^>]+?src=["\']((?:https?:)?//
content\.jwplatform
\.com/players/[a-zA-Z0-9]{8})',
+ r'<(?:script|iframe)[^>]+?src=["\']((?:https?:)?//
(?:content\.jwplatform|cdn\.jwplayer)
\.com/players/[a-zA-Z0-9]{8})',
webpage)
def _real_extract(self, url):