0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-09 00:15:06 +00:00

Strip HTML out of uploader name

This commit is contained in:
Jeff Crouse 2012-11-13 17:48:30 -05:00
parent 089d47f8d5
commit 5f7ad21633

View file

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