1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-27 18:16:44 +00:00

[keek] Make uploader fields non fatal

This commit is contained in:
Sergey M․ 2015-09-28 01:05:24 +06:00
parent 98e1c935a1
commit 817690ff73

View 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),
}