Fix teachable URL validation

This commit is contained in:
ilpersi 2020-09-30 13:31:46 +02:00
parent d65d89183f
commit 70f8babcaf
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ 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',
r'<img[^>]+src=["\']https?://process\.fs\.teachablecdn\.com',
webpage)
@staticmethod