https://github.com/orsifrancesco/sniffagrammers Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} orsifrancesco / sniffagrammers Public * Notifications * Fork 0 * Star 3 Node.js and PHP files to automatically downloading pictures from instagram by https://orsi.me/sniffagram orsi.me/sniffagram License MIT license 3 stars 0 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights orsifrancesco/sniffagrammers This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/o] Use Git or checkout with SVN using the web URL. [gh repo clone orsifr] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @orsifrancesco orsifrancesco update readme ... 002d57a Apr 20, 2023 update readme 002d57a Git stats * 3 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time node update April 20, 2023 22:19 php update April 20, 2023 22:19 .gitignore first commit April 17, 2023 09:25 LICENSE update April 20, 2023 22:19 README.md update readme April 20, 2023 22:24 View code [ ] Sniffagrammers In this repo you can find Node.js and PHP files to automatically downloading pictures from instagram by https://orsi.me/ sniffagram Prerequisites Open the script Upload the script on your web space. Open the browser Check the result Download images automatically every hour Advanced way to do it Resource Links [?][?] License [?] About README.md Sniffagrammers logo In this repo you can find Node.js and PHP files to automatically downloading pictures from instagram by https://orsi.me/sniffagram --------------------------------------------------------------------- Prerequisites Just a web space where to execute a Node.js script.. or PHP script; alternatively you can run the script on your computer. If you want to run the script automatically you need Crontab installed where you execute the code or a free account to crontaboo.com. Open the script Open node/sniffagrammer.js or php/sniffagrammer.php. Edit the code according to your needs: // type can be 'tag' or 'user' const type = 'user' // if type is 'tag', the script will search for #orsifrancesco // if type is 'user', the script will search for @orsifrancesco const value = 'orsifrancesco' // only for sniffagrammer.js // you can change the port of the server const port = 8080 Upload the script on your web space. If you use Node.js just run node sniffagrammer.js (and open the browser). If you use PHP you can just upload sniffagrammer.php to your web space. Open the browser You should be able to see the output on http://yourWebSpace:8080 (or the port you set, or http://localhost:8080 if you are running the Node.js script on your computer) or http://yourWebSpace/ sniffagrammer.php (or http://localhost if you are running the PHP script on the htdocs/ folder of your computer). Every time you open the URL, the script will call Sniffagram endpoint checking for new images and saving them on images/ folder. JSON output Check the result On images/{type}/ (where type can be tag or user) you will see all the downloaded images. Every time you download a new image, you will find the hash ( wikipedia) of the image path on temp/{type}/. These files are 0 bytes, they are necessary to prevent downloading the same images (if you delete these files the images will be downloaded again). folders Download images automatically every hour To call the URL automatically, you need to run a crontab (wikipedia) script. If you don't have crontab installed on your machine you can register at crontaboo.com (the free account gives you the possibility to call URLs every hour). crontaboo.com Advanced way to do it Sniffagram is an independent project that gives you 30 calls a day ( enough for a call every hour). It caches the output for 5 minutes. Due to the high number of requests, sometimes the token used for the project expires prematurely making the service unavailable (usually the expired token is replaced after a few minutes). For unlimited requests (no cache, every minute) you need to follow the tutorial from the official repo Instagram without API for Node.js or PHP. Resource Links * Sniffagram * GitHub Sniffagrammers scripts for Node.js and PHP * Crontaboo, simple way to call URLs without crontab * Instagram without API Node.js * Instagram without API npm * Instagram without API PHP * Instagram without API tutorial [?][?] License Licensed under MIT [?] About Any feedback to @orsifrancesco and coffees are welcome :) About Node.js and PHP files to automatically downloading pictures from instagram by https://orsi.me/sniffagram orsi.me/sniffagram Topics nodejs php instagram scraping instagram-api sniffing sniff ready-to-use no-api sniffagram Resources Readme License MIT license Stars 3 stars Watchers 1 watching Forks 0 forks Report repository Releases No releases published Packages 0 No packages published Languages * JavaScript 66.7% * PHP 33.3% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.