summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-12-27 22:57:50 +0700
committerSergey M․ <dstftw@gmail.com>2020-12-27 22:57:50 +0700
commit6f2eaaf73daef3ac0995cd7b51c677b003c04218 (patch)
treec585b901bffa27ccd78aca7160b7c439188983d4
parent4c7a4dbc4d07786734324b267a41b74ee7099a85 (diff)
downloadyoutube-dl-6f2eaaf73daef3ac0995cd7b51c677b003c04218.tar.gz
youtube-dl-6f2eaaf73daef3ac0995cd7b51c677b003c04218.tar.xz
youtube-dl-6f2eaaf73daef3ac0995cd7b51c677b003c04218.zip
[teachable] Improve embed detection (closes #26923)
-rw-r--r--youtube_dl/extractor/teachable.py2
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