diff --git a/youtube_dl/extractor/teachable.py b/youtube_dl/extractor/teachable.py index 5a2df1ce6..375b37ca5 100644 --- a/youtube_dl/extractor/teachable.py +++ b/youtube_dl/extractor/teachable.py @@ -140,8 +140,12 @@ class TeachableIE(TeachableBaseIE): @staticmethod def _is_teachable(webpage): return 'teachableTracker.linker:autoLink' in webpage and ( - re.search(r']+href=["\']https?://process\.fs\.teachablecdn\.com', webpage) or - re.search(r']+src=["\']https?://process\.fs\.teachablecdn\.com', webpage)) + re.search( + r']+href=["\']https?://process\.fs\.teachablecdn\.com', + webpage) + or re.search( + r']+src=["\']https?://process\.fs\.teachablecdn\.com', + webpage)) @staticmethod def _extract_url(webpage, source_url):