mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[played] Use _form_hidden_inputs
				
					
				
			This commit is contained in:
		| @@ -38,9 +38,7 @@ class PlayedIE(InfoExtractor): | ||||
|         if m_error: | ||||
|             raise ExtractorError(m_error.group('msg'), expected=True) | ||||
|  | ||||
|         fields = re.findall( | ||||
|             r'type="hidden" name="([^"]+)"\s+value="([^"]+)">', orig_webpage) | ||||
|         data = dict(fields) | ||||
|         data = self._form_hidden_inputs(orig_webpage) | ||||
|  | ||||
|         self._sleep(2, video_id) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․