Little php class for Instagram Scrapping.
Telegram Bot Demo @InstaTakerBot
Note :
Don't forgot to set your own Coockie in Script. [ Deprecated ]
$_COOKIE = '';
Since version 3.0 release you don't need to manually set cookies data, just login or run test.php file
<?php
require 'vendor/autoload.php';
use GuzzleHttp\Client;
use InstagramPHP\Login as InstagramPHPLogin;
$session = new InstagramPHPLogin(new Client(), 'user', 'pass');
$session->SessionLogin();
First install composer on your system,then run:
composer install
cd Instagram-Tools && php -S localhost:8000
then open http:https://localhost:8000/ in browser,now you can use PWA in your local webserver.
- Return Account Info (Profile)
- Download Media
- Download Highlights
- Download Reels
- Download Story
Click to see changelogs.
- Now is be PWA
- Sadly instagram fully closed previous ( __a=1 ) method, so i used a newer one.
- Completely object oriented
- Codes rewrited from scratch
- All requests are now handled over Guzzle
- Fixed Highlight detection
- Now PWA can play carousel photos and videos
- some javascript bugs fixed
Note: this is final build for 2023
- Changed UserAgent somewhere
- Fixed login CSRF data
- Updated login ajax url
- New regex pattern for getting media id
- Bumped guzzle version to 7.8.1
- Fixed story scapping
- Some changes in Highlights regex pattern
Developer : Incognito Coder & Arash Ariaye
if you enjoy my content, consider to buy me a coffee here:
- Donate ZarinPal
- USDT(TRC20) :
TD5XNhZPuVoc6ZnadbrQenuur3WWKwkFqV
- TRON(TRX) :
TD5XNhZPuVoc6ZnadbrQenuur3WWKwkFqV