1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00

[imgur] fix 'date' and 'count' keywords

This commit is contained in:
Mike Fährmann 2015-12-13 03:35:55 +01:00
parent 5589bc2ed7
commit 9c9b1e112a
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -43,8 +43,9 @@ class ImgurExtractor(Extractor):
}
return text.extract_all(page, (
('title', '<meta property="og:title" content="', '"'),
('date' , '"create_datetime":"', '"'),
('count', '"num_images":', ','),
('count', '"num_images":"', '"'),
('date' , '"datetime":"', ' '),
('time' , '', '"'),
), values=data)[0]
def get_image_urls(self):