[keek] Make uploader fields non fatal

pull/8/head
Sergey M․ 9 years ago
parent 98e1c935a1
commit 817690ff73

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

Loading…
Cancel
Save