mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 08:47:41 +00:00
[teachable] Improve embed detection (closes #26923)
This commit is contained in:
parent
4c7a4dbc4d
commit
6f2eaaf73d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue