[teachable] Improve embed detection (closes #26923)

pull/27556/head
Sergey M․ 4 years ago
parent 4c7a4dbc4d
commit 6f2eaaf73d
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -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'<link[^>]+href=["\']https?://(?:process\.fs|assets)\.teachablecdn\.com',
webpage)
@staticmethod

Loading…
Cancel
Save