mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 02:14:32 +01:00
Fix flake8
This commit is contained in:
parent
c20b0e4fa7
commit
5c0e66320d
@ -140,8 +140,12 @@ 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', webpage) or
|
||||
re.search(r'<img[^>]+src=["\']https?://process\.fs\.teachablecdn\.com', webpage))
|
||||
re.search(
|
||||
r'<link[^>]+href=["\']https?://process\.fs\.teachablecdn\.com',
|
||||
webpage)
|
||||
or re.search(
|
||||
r'<img[^>]+src=["\']https?://process\.fs\.teachablecdn\.com',
|
||||
webpage))
|
||||
|
||||
@staticmethod
|
||||
def _extract_url(webpage, source_url):
|
||||
|
Loading…
Reference in New Issue
Block a user