X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fyouporn.py;h=8123928be982dbaccb98638ea0b915007ebc7066;hb=81a7a521c5bdbd862b7c7d161425295fed63d212;hp=97ef9c17e5b29e8aa9bd72c027acab63a74d81b3;hpb=9e1a5b845586a0a5431fb72467142046d8571e6f;p=youtube-dl.git diff --git a/youtube_dl/extractor/youporn.py b/youtube_dl/extractor/youporn.py index 97ef9c17e..8123928be 100644 --- a/youtube_dl/extractor/youporn.py +++ b/youtube_dl/extractor/youporn.py @@ -49,7 +49,7 @@ class YouPornIE(InfoExtractor): try: params = json.loads(json_params) except: - raise ExtractorError(u'Invalid JSON') + raise ExtractorError('Invalid JSON') self.report_extraction(video_id) try: @@ -103,7 +103,7 @@ class YouPornIE(InfoExtractor): self._sort_formats(formats) if not formats: - raise ExtractorError(u'ERROR: no known formats available for video') + raise ExtractorError('ERROR: no known formats available for video') return { 'id': video_id,