mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 14:05:01 +03:00
[imgur] use hash when title not present
This commit is contained in:
parent
303922f9d4
commit
d3d9e0f5c0
@ -65,7 +65,7 @@ class Imgur(VideoExtractor):
|
||||
'container': 'jpg'
|
||||
}
|
||||
}
|
||||
self.title = image['title']
|
||||
self.title = image['title'] or image['hash']
|
||||
|
||||
def extract(self, **kwargs):
|
||||
if 'stream_id' in kwargs and kwargs['stream_id']:
|
||||
|
Loading…
Reference in New Issue
Block a user