From 70f8babcafcace23d8d1b6dc4de6dfb417216212 Mon Sep 17 00:00:00 2001 From: ilpersi Date: Wed, 30 Sep 2020 13:31:46 +0200 Subject: [PATCH] Fix teachable URL validation --- youtube_dl/extractor/teachable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/teachable.py b/youtube_dl/extractor/teachable.py index a75369dbe..527d484e7 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']+src=["\']https?://process\.fs\.teachablecdn\.com', webpage) @staticmethod