mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Merge branch 'unstable' into 'testing'
Increased the limit for max tags See merge request piotrex43/RcGcDw!15
This commit is contained in:
commit
378c10f3ec
|
@ -735,7 +735,7 @@ class recent_changes_class(object):
|
|||
self.map_ips = {}
|
||||
|
||||
def update_tags(self):
|
||||
tags_read = safe_read(self.safe_request("https://{wiki}.gamepedia.com/api.php?action=query&format=json&list=tags&tgprop=name%7Cdisplayname".format(wiki=settings["wiki"])), "query", "tags")
|
||||
tags_read = safe_read(self.safe_request("https://{wiki}.gamepedia.com/api.php?action=query&format=json&list=tags&tglimit=max&tgprop=name|displayname".format(wiki=settings["wiki"])), "query", "tags")
|
||||
if tags_read:
|
||||
for tag in tags_read:
|
||||
self.tags[tag["name"]] = (BeautifulSoup(tag["displayname"], "lxml")).get_text()
|
||||
|
|
Loading…
Reference in a new issue