mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
Fix teachable URL validation
This commit is contained in:
parent
d65d89183f
commit
70f8babcaf
@ -140,7 +140,7 @@ class TeachableIE(TeachableBaseIE):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def _is_teachable(webpage):
|
def _is_teachable(webpage):
|
||||||
return 'teachableTracker.linker:autoLink' in webpage and re.search(
|
return 'teachableTracker.linker:autoLink' in webpage and re.search(
|
||||||
r'<link[^>]+href=["\']https?://process\.fs\.teachablecdn\.com',
|
r'<img[^>]+src=["\']https?://process\.fs\.teachablecdn\.com',
|
||||||
webpage)
|
webpage)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user