diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-12-27 22:57:50 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-12-27 22:57:50 +0700 |
commit | 6f2eaaf73daef3ac0995cd7b51c677b003c04218 (patch) | |
tree | c585b901bffa27ccd78aca7160b7c439188983d4 /youtube_dl/extractor | |
parent | 4c7a4dbc4d07786734324b267a41b74ee7099a85 (diff) | |
download | youtube-dl-6f2eaaf73daef3ac0995cd7b51c677b003c04218.tar.xz |
[teachable] Improve embed detection (closes #26923)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/teachable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/teachable.py b/youtube_dl/extractor/teachable.py index 6f264bddc..2394f86d4 100644 --- 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 |