From: Sergey M․ Date: Sun, 27 Dec 2020 15:57:50 +0000 (+0700) Subject: [teachable] Improve embed detection (closes #26923) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=6f2eaaf73daef3ac0995cd7b51c677b003c04218;p=youtube-dl [teachable] Improve embed detection (closes #26923) --- 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']+href=["\']https?://process\.fs\.teachablecdn\.com', + r']+href=["\']https?://(?:process\.fs|assets)\.teachablecdn\.com', webpage) @staticmethod