[keek] Make uploader fields non fatal
authorSergey M․ <dstftw@gmail.com>
Sun, 27 Sep 2015 19:05:24 +0000 (01:05 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 27 Sep 2015 19:05:24 +0000 (01:05 +0600)
youtube_dl/extractor/keek.py

index 99154112bb4fead1bd1e12fb689d7f9b911f08ba..7e1a3f67c84153592830978427c7c22a13dd645f 100644 (file)
@@ -32,6 +32,6 @@ class KeekIE(InfoExtractor):
             'title': self._og_search_title(webpage),
             'description': self._og_search_description(webpage),
             'thumbnail': self._og_search_thumbnail(webpage),
-            'uploader': self._search_regex(r'data-username="([^"]+)"', webpage, 'uploader', None),
-            'uploader_id': self._search_regex(r'data-user-id="([^"]+)"', webpage, 'uploader id', None),
+            'uploader': self._search_regex(r'data-username="([^"]+)"', webpage, 'uploader', fatal=False),
+            'uploader_id': self._search_regex(r'data-user-id="([^"]+)"', webpage, 'uploader id', fatal=False),
         }