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:
parent
5589bc2ed7
commit
9c9b1e112a
@ -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…
Reference in New Issue
Block a user