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

pull/13/head
Mike Fährmann 9 years ago
parent 5589bc2ed7
commit 9c9b1e112a
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -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):

Loading…
Cancel
Save