Instagram-php-scraper: Scraper stopped working

Created on 3 Jun 2020  路  16Comments  路  Source: postaddictme/instagram-php-scraper

As of now the scraper stopped working:

  1. The login always fails, the mid param is no more available in the response cookies, the password is now encrypted in a parameter named enc_password and no longer sent in clear
  2. Without the login the scraper client get a 302 http status code that redirects to a page https://www.instagram.com/accounts/login/?next=/accountusername/
wontfix

Most helpful comment

Sadly i had to give up with this library. Switcher to a JS-based scraper, works perfectly.

what's the name

All 16 comments

+1

what should we do?? now there is no info for without login its all redirect to login page and now i can not login even with credentials!!

Yeah exactly, now it's no longer possible to even login with credentials... sadly this library has become totally useless

Could it be related to the Instagram Legacy API deprecation?

I don't know if there is a relation to the API deprecation. Is there any update on this matter or the intention to find a fix? Otherwise it's likely i need to give up with this library and feature.

@raiym

I have 3 instances on my app, and 2 of them stopped working, with auth configuration.

The issue seems to be with the setProxy() function. Without proxy, the getAccount() return data just fine. Any update?

Sadly i had to give up with this library. Switcher to a JS-based scraper, works perfectly.

Sadly i had to give up with this library. Switcher to a JS-based scraper, works perfectly.

what's the name

Sadly i had to give up with this library. Switcher to a JS-based scraper, works perfectly.

Hello??

same problem here.

Anyone able to fix it?

Im having the same problem and getting a redirect to a login page, the error shows: Something went wrong. Please report issue. in xxx/vendor/raiym/instagram-php-scraper/src/InstagramScraper/Instagram.php:431

@raiym maybe is possible to add the option for the api feature into this package?

thanks for your work on the package

hi guys just want to tell you it works again. all you need is a user to login with:
https://github.com/postaddictme/instagram-php-scraper/issues/697#issuecomment-646011759

@nicmare no, because on some account, without 2FA enabled, there is a challenge on login, and when Instagram flag you this way, there is just no option. My workaround was to create another account.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eelcol picture eelcol  路  5Comments

limminho picture limminho  路  8Comments

luengwaiban picture luengwaiban  路  5Comments

joty0 picture joty0  路  3Comments

absfarah picture absfarah  路  5Comments