postaddictme / instagram-php-scraper

Get account information, photos, videos, stories and comments.
https://packagist.org/packages/raiym/instagram-php-scraper
MIT License
3.1k stars 800 forks source link

Scraper stopped working #691

Closed joeforjoomla closed 4 years ago

joeforjoomla commented 4 years ago

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/
VarroReve commented 4 years ago

+1

emobin commented 4 years ago

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!!

joeforjoomla commented 4 years ago

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

KinaneD commented 4 years ago

Could it be related to the Instagram Legacy API deprecation?

joeforjoomla commented 4 years ago

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.

joeforjoomla commented 4 years ago

@raiym

Francois-Francois commented 4 years ago

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

dieuz1 commented 4 years ago

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

joeforjoomla commented 4 years ago

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

impozzible commented 4 years ago

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

what's the name

impozzible commented 4 years ago

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

Hello??

roninit72 commented 4 years ago

same problem here.

Anyone able to fix it?

nam-co commented 4 years ago

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

nicmare commented 4 years ago

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

Francois-Francois commented 4 years ago

@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.

stale[bot] commented 4 years ago

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.