[fxnetworks] Add support for https theplatform URLs (closes #16125)
This commit is contained in:
		
							parent
							
								
									315ab3d500
								
							
						
					
					
						commit
						d783aee56a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -41,7 +41,7 @@ class FXNetworksIE(AdobePassIE):
 | 
				
			||||||
        if 'The content you are trying to access is not available in your region.' in webpage:
 | 
					        if 'The content you are trying to access is not available in your region.' in webpage:
 | 
				
			||||||
            self.raise_geo_restricted()
 | 
					            self.raise_geo_restricted()
 | 
				
			||||||
        video_data = extract_attributes(self._search_regex(
 | 
					        video_data = extract_attributes(self._search_regex(
 | 
				
			||||||
            r'(<a.+?rel="http://link\.theplatform\.com/s/.+?</a>)', webpage, 'video data'))
 | 
					            r'(<a.+?rel="https?://link\.theplatform\.com/s/.+?</a>)', webpage, 'video data'))
 | 
				
			||||||
        player_type = self._search_regex(r'playerType\s*=\s*[\'"]([^\'"]+)', webpage, 'player type', default=None)
 | 
					        player_type = self._search_regex(r'playerType\s*=\s*[\'"]([^\'"]+)', webpage, 'player type', default=None)
 | 
				
			||||||
        release_url = video_data['rel']
 | 
					        release_url = video_data['rel']
 | 
				
			||||||
        title = video_data['data-title']
 | 
					        title = video_data['data-title']
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue