mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[teachable] Improve embed detection (closes #26923)
This commit is contained in:
		| @@ -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'<link[^>]+href=["\']https?://(?:process\.fs|assets)\.teachablecdn\.com', | ||||||
|             webpage) |             webpage) | ||||||
|  |  | ||||||
|     @staticmethod |     @staticmethod | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user