Parcourir la source

Strip HTML out of uploader name

Jeff Crouse il y a 13 ans
Parent
commit
5f7ad21633
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      youtube_dl/InfoExtractors.py

+ 1 - 0
youtube_dl/InfoExtractors.py

@@ -3461,6 +3461,7 @@ class YouPornIE(InfoExtractor):
 			self._downloader.trouble(u'ERROR: unable to extract uploader')
 			return
 		video_uploader = result.group('uploader').decode('utf-8').strip()
+		video_uploader = clean_html( video_uploader )
 		self.report_uploader(video_uploader)
 
 		# Get all of the formats available