From 5c0e66320de8377df522aa6c04fecf028c1e00b7 Mon Sep 17 00:00:00 2001 From: ilpersi Date: Sun, 18 Oct 2020 19:30:14 +0200 Subject: [PATCH] Fix flake8 --- youtube_dl/extractor/teachable.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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):