ChrisStevens / garc

Python library and command line tool for collecting JSON data from Gab.ai. Scrape posts, users and comments from "free-speech" social media platform Gab.
MIT License
35 stars 15 forks source link

Not working and gives constant errors with the most basic of commands #2

Closed rishabtandon03 closed 4 years ago

rishabtandon03 commented 4 years ago

Even the most basic commands art working and give the following results , both on Mac and Linux machines.

$ garc search maga

line 11, in load_entry_point('garc==2.0', 'console_scripts', 'garc')() line 118, in main for thing in things: line 84, in search max_id = posts[-1]['id'] KeyError: -1

-RT 13/06/2020

ChrisStevens commented 4 years ago

@rishabtandon03 I think the issue is coming from poor error catching with respect to account login. So you have configured garc with incorrect account info.

To fix rerun: garc configure

and make sure the username and password you give are for a valid Gab account. Then everything should work.

Please let me know if that doesn't solve the issue.

rishabtandon03 commented 4 years ago

ooh my bad just realised!

thanks for the swift reply and sorry for the trouble :)