]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Strip HTML out of uploader name
authorJeff Crouse <jefftimesten@gmail.com>
Tue, 13 Nov 2012 22:48:30 +0000 (17:48 -0500)
committerJeff Crouse <jefftimesten@gmail.com>
Tue, 13 Nov 2012 22:48:30 +0000 (17:48 -0500)
youtube_dl/InfoExtractors.py

index 8969160c4cf62e3e024cefb0daf3dcd54371d7d0..15dd1530797f6955c98ce33943a3dba0fa7a8a0e 100644 (file)
@@ -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