logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 6f2eaaf73daef3ac0995cd7b51c677b003c04218
parent 4c7a4dbc4d07786734324b267a41b74ee7099a85
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun, 27 Dec 2020 22:57:50 +0700

[teachable] Improve embed detection (closes #26923)

Diffstat:

Myoutube_dl/extractor/teachable.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/teachable.py b/youtube_dl/extractor/teachable.py @@ -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