[gelbooru] fix non-API tag extraction
This commit is contained in:
@@ -52,7 +52,7 @@ class GelbooruExtractor(booru.XmlParserMixin,
|
|||||||
page = self.request(self.post_url.format(post_id)).text
|
page = self.request(self.post_url.format(post_id)).text
|
||||||
data = text.extract_all(page, (
|
data = text.extract_all(page, (
|
||||||
(None , '<meta name="keywords"', ''),
|
(None , '<meta name="keywords"', ''),
|
||||||
("tags" , ' imageboard, ', '"'),
|
("tags" , ' imageboard- ', '"'),
|
||||||
("id" , '<li>Id: ', '<'),
|
("id" , '<li>Id: ', '<'),
|
||||||
("created_at", '<li>Posted: ', '<'),
|
("created_at", '<li>Posted: ', '<'),
|
||||||
("width" , '<li>Size: ', 'x'),
|
("width" , '<li>Size: ', 'x'),
|
||||||
|
|||||||
Reference in New Issue
Block a user