ping / instagram_private_api

A Python library to access Instagram's private API.
MIT License
2.94k stars 608 forks source link

How to use "user_detail_info" with a user name that contains a period inside? #385

Open BillyBonaros opened 2 years ago

BillyBonaros commented 2 years ago

Which client are you using?


Describe your Question/Issue:

When I'm trying to use 'user_detail_info' with a user name that has a period inside (for example: discover.greece) I'm getting an error. I tried to escape the '.' character using regex and \ but I got the same error again. Any suggestions? Thanks!

Error/Debug Log:

Error parsing error response: Expecting value: line 1 column 1 (char 0)
ali-zahedi commented 2 years ago

Instagram has been returning a non-JSON serializable response, so you get this error. Try with valid username.

BillyBonaros commented 2 years ago

Instagram has been returning a non-JSON serializable response, so you get this error. Try with valid username.

It's a valid user name. The error is because there is a "." in the user name. Please read the issue description.