Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit 19a05ef

Browse files
committed
Fixes #29
1 parent e818691 commit 19a05ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dmarchiver/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,12 +299,12 @@ def get_threads(self):
299299
params=payload)
300300

301301
json = response.json()
302-
threads += json['inner']['threads']
302+
threads += json['inner']['trusted']['threads']
303303

304-
if json['inner']['has_more'] == False:
304+
if json['inner']['trusted']['has_more'] == False:
305305
break
306306

307-
payload = {'max_entry_id': json['inner']['min_entry_id']}
307+
payload = {'max_entry_id': json['inner']['trusted']['min_entry_id']}
308308

309309
return threads
310310

0 commit comments

Comments
 (0)