Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSONDecodeError on many profiles #324

Open
RiedleroD opened this issue Mar 5, 2021 · 0 comments
Open

JSONDecodeError on many profiles #324

RiedleroD opened this issue Mar 5, 2021 · 0 comments

Comments

@RiedleroD
Copy link

Library version

instalooter v2.4.4

Environment

  • Arch Linux
  • CPython 3.9.2

Error description - runtime

Reproducible test case

from instalooter.looters import ProfileLooter
pl=ProfileLooter("tgmmememaster")
for media in pl.medias():
	pass

Expected behaviour

Instalooter iterates through the medias without failing. Perhaps a more specific exception would be nice, if there's truly something wrong on insta's end.

Actual behaviour

An exception gets thrown, possibly because of some corrupt JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant