mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	[pbs] add another media id regex
This commit is contained in:
		@@ -421,6 +421,7 @@ class PBSIE(InfoExtractor):
 | 
				
			|||||||
                r'class="coveplayerid">([^<]+)<',                       # coveplayer
 | 
					                r'class="coveplayerid">([^<]+)<',                       # coveplayer
 | 
				
			||||||
                r'<section[^>]+data-coveid="(\d+)"',                    # coveplayer from http://www.pbs.org/wgbh/frontline/film/real-csi/
 | 
					                r'<section[^>]+data-coveid="(\d+)"',                    # coveplayer from http://www.pbs.org/wgbh/frontline/film/real-csi/
 | 
				
			||||||
                r'<input type="hidden" id="pbs_video_id_[0-9]+" value="([0-9]+)"/>',  # jwplayer
 | 
					                r'<input type="hidden" id="pbs_video_id_[0-9]+" value="([0-9]+)"/>',  # jwplayer
 | 
				
			||||||
 | 
					                r"(?s)window\.PBS\.playerConfig\s*=\s*{.*?id\s*:\s*'([0-9]+)',",
 | 
				
			||||||
            ]
 | 
					            ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            media_id = self._search_regex(
 | 
					            media_id = self._search_regex(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user