projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c7a4db
)
[teachable] Improve embed detection (closes #26923)
author
Sergey M․
<dstftw@gmail.com>
Sun, 27 Dec 2020 15:57:50 +0000
(22:57 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 27 Dec 2020 15:57:50 +0000
(22:57 +0700)
youtube_dl/extractor/teachable.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/teachable.py
b/youtube_dl/extractor/teachable.py
index 6f264bddc4590dc60cf16e200b0369ee1bfc1d65..2394f86d4b8433dbd443c47ad8ad459b311f69cc 100644
(file)
--- a/
youtube_dl/extractor/teachable.py
+++ b/
youtube_dl/extractor/teachable.py
@@
-140,7
+140,7
@@
class TeachableIE(TeachableBaseIE):
@staticmethod
def _is_teachable(webpage):
return 'teachableTracker.linker:autoLink' in webpage and re.search(
- r'<link[^>]+href=["\']https?://
process\.fs
\.teachablecdn\.com',
+ r'<link[^>]+href=["\']https?://
(?:process\.fs|assets)
\.teachablecdn\.com',
webpage)
@staticmethod