Quellcode durchsuchen

[keek] add utf-8 coding cookie

remitamine vor 10 Jahren
Ursprung
Commit
f30e9976d6
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      youtube_dl/extractor/keek.py

+ 2 - 1
youtube_dl/extractor/keek.py

@@ -1,3 +1,4 @@
+# coding: utf-8
 from __future__ import unicode_literals
 from __future__ import unicode_literals
 
 
 import re
 import re
@@ -14,7 +15,7 @@ class KeekIE(InfoExtractor):
         'info_dict': {
         'info_dict': {
             'id': 'NODfbab',
             'id': 'NODfbab',
             'ext': 'mp4',
             'ext': 'mp4',
-            'title': 'test chars: "\'/\\\xe4<>This is a test video for youtube-dl.For more information, contact phihag@phihag.de . - Video - Videos on Keek',
+            'title': 'test chars: "\'/\\ä<>This is a test video for youtube-dl.For more information, contact phihag@phihag.de . - Video - Videos on Keek',
             'description': 'md5:35d42050a3ece241d5ddd7fdcc6fd896',
             'description': 'md5:35d42050a3ece241d5ddd7fdcc6fd896',
             'uploader': 'ytdl',
             'uploader': 'ytdl',
             'uploader_id': 'eGT5bab',
             'uploader_id': 'eGT5bab',