mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[nbc] Add another theplatform pattern
This commit is contained in:
		@@ -63,6 +63,7 @@ class NBCIE(InfoExtractor):
 | 
				
			|||||||
        theplatform_url = unescapeHTML(lowercase_escape(self._html_search_regex(
 | 
					        theplatform_url = unescapeHTML(lowercase_escape(self._html_search_regex(
 | 
				
			||||||
            [
 | 
					            [
 | 
				
			||||||
                r'(?:class="video-player video-player-full" data-mpx-url|class="player" src)="(.*?)"',
 | 
					                r'(?:class="video-player video-player-full" data-mpx-url|class="player" src)="(.*?)"',
 | 
				
			||||||
 | 
					                r'<iframe[^>]+src="((?:https?:)?//player\.theplatform\.com/[^"]+)"',
 | 
				
			||||||
                r'"embedURL"\s*:\s*"([^"]+)"'
 | 
					                r'"embedURL"\s*:\s*"([^"]+)"'
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
            webpage, 'theplatform url').replace('_no_endcard', '').replace('\\/', '/')))
 | 
					            webpage, 'theplatform url').replace('_no_endcard', '').replace('\\/', '/')))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user