0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-08 00:05: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')
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