mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-22 00:44:10 +00:00
Fix Fandom recent change in API
This commit is contained in:
parent
60d635ccfd
commit
f2b948dba6
|
@ -464,6 +464,8 @@ async def discussion_handler():
|
|||
comment_events = []
|
||||
targets = await generate_targets(db_wiki["wiki"], "AND NOT postid = '-1'")
|
||||
for post in discussion_feed:
|
||||
if not post:
|
||||
continue
|
||||
if post["_embedded"]["thread"][0]["containerType"] == "ARTICLE_COMMENT" and post["id"] > db_wiki["postid"]:
|
||||
comment_events.append(post["forumId"])
|
||||
comment_pages: dict = {}
|
||||
|
|
Loading…
Reference in a new issue