|
|
|
@ -528,12 +528,12 @@ class KomradeX(Caller):
|
|
|
|
|
# (3) save posts
|
|
|
|
|
if include_posts:
|
|
|
|
|
id2post=res.get('res_posts').get('posts',{})
|
|
|
|
|
|
|
|
|
|
# save them: but posts arent msgs!
|
|
|
|
|
# @hack! why is this happening?
|
|
|
|
|
|
|
|
|
|
# save them: but posts arent msgs!
|
|
|
|
|
# @hack! why is this happening?
|
|
|
|
|
id2msg = dict([(k,v) for k,v in id2msg.items() if k not in id2post])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
id2msg = dict([(k,v) for k,v in id2msg.items() if k not in id2post])
|
|
|
|
|
self.log(f'downloaded {len(id2msg)} messages:',list(id2msg.keys()))
|
|
|
|
|
if include_posts:
|
|
|
|
|
self.log(f'downloaded {len(id2post)} posts:',list(id2post.keys()))
|
|
|
|
|