mirror of
https://github.com/simon987/chan_feed.git
synced 2025-04-10 14:06:42 +00:00
another 8kun fix
This commit is contained in:
parent
381468a463
commit
a60b646e35
@ -6,6 +6,10 @@ from util import logger
|
||||
|
||||
class JsonKunChanHelper(JsonChanHelper):
|
||||
|
||||
@staticmethod
|
||||
def item_type(item):
|
||||
return "thread" if item["resto"] == 0 else "post"
|
||||
|
||||
def __init__(self, db_id, base_url, image_url, thread_path, image_path, boards, rps):
|
||||
super().__init__(db_id, base_url, image_url, thread_path, image_path, boards, rps)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user