Question Best tool to download from instagram?

Obicase

Bathwater Drinker
Mar 16, 2022
59
1,648
1,252
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
gallery-dl
Python command line program that you can give your cookies to, to download from private accounts you follow.

I made a guide here : https://simpcity.su/threads/best-tool-to-download-from-instagram.97910/page-4#post-2123499
And a update to the guide here : https://simpcity.su/threads/best-tool-to-download-from-instagram.97910/page-5#post-2637158
Also, I would recommend increasing sleep-request and sleep a little more than what I put in the guide, just to be safe. I've been using 9-17s and 1.5-5s for 9 months and got no warning from instagram or anything.
You can skip steps 8 and 9 if you're planning to use your main account.
 
Last edited:

Wanda

ᴍᴏᴍᴍʏ💕
Jan 31, 2022
7,462
28
266,503
2,833
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
Go to the Settings Tab
1. Account Manager - Input your Instagram Account/Password
2. Change the settings on Plugins (Choose Plugin: instagram.com)

Go to the Linkgrabber Tab
1. Add New Links (bottom left)
2. After it stops searching, Start all Downloads (bottom right)
 

Obicase

Bathwater Drinker
Mar 16, 2022
59
1,648
1,252
0fya082315al84db03fa9bf467e3.png
Edit : Disclaimer : I am not responsible for any damage that may happen while following this guide. Read every step and make sure you understand them before doing anything.

Here's a quick how-to guide to use gallery-dl (for instagram) :

1. Download and install python (make sure to add python to path during install, it's a checkbox to tick)
2. Download the latest
Please, Log in or Register to see links and images
, I use the portable .exe but you can also install it to use the "gallery-dl" command anywhere on your computer.
3. Create a folder C:\Users\[user]\AppData\Roaming\gallery-dl
4. Download the
Please, Log in or Register to see links and images
with default values
5. Put that file in the folder you created in step 3 and rename it to config.json (make sure you enabled the option to change file extensions)
6. Open config.json with notepad, ctrl+F "insta" to go to the instagram options, and use these options :
Code:
Please, Log in or Register to view codes content!
I will explain in detail what these options do later.
7. In the main extractor options, all the way at the top of the config file, make sure your "user-agent" matches your browser's user agent. You can check what your browser user agent is on
Please, Log in or Register to see links and images
. Simply copy everything between quotation marks and replace what you have in your config file. It should look like this :
Code:
Please, Log in or Register to view codes content!
8. Make another browser profile. For example you can make another one in firefox by running "Firefox.exe -p", which will open the profile manager.
9. On this secondary browser profile, log in the instagram account you want to use to download from gallery-dl. This means that you will be able to download from private profiles that this account has access to (follows). Do not use your main account, the risk of getting banned is not zero.
10. Install a brower extension that lets you export cookies to a .txt file. I use
Please, Log in or Register to see links and images
on Firefox.
11. Using this extension, export cookies for instagram.com. This will give you a file called "cookies-instagram-com.txt". You can put that file anywhere.
12. The command line (in cmd) you will use to download is :
Code:
Please, Log in or Register to view codes content!
I recommend saving that command line in a txt file somewhere so you don't have to type it every time.
Note that if you're using the portable gallery-dl.exe, you will need to cd to the folder that contains the .exe before using the command.
You can use that command line to download anything from instagram. For example : "gallery-dl --cookies "C:\[your path that leads to the cookies file]\cookies-instagram-com.txt"
Please, Log in or Register to see links and images
Please, Log in or Register to see links and images
".
This will download every post, reel, and the avatar of those two profiles. You can put as many urls in a row separated by a space as you want. You can add links to stories to download stories, links to highlights to download highlights, or even
Please, Log in or Register to see links and images
to download ALL the highlights of a user.

That's it ! copy/paste as many urls as you want and watch gallery-dl download them.

Regarding the options in step 6, the options I gave will do this :
- for an account url, it will download every post, reel, and the avatar of that account.
- the program will wait 8 to 12 seconds between each url and 0.5 to 2 secs between each file. This is to reduce the risk that instagram detects you.
- the program will download videos.
- the program will create a folder named instagram, and within that folder, a folder for each account. For example "C:/yourpath/Instagram/sophiadiamond".
- the program will skip files already downloaded before, and will abort the download of the current url if 25 consecutive files were skipped. This is to reduce the number of requests to instagram, which reduces the risk to be detected.
- the avatar/posts/reels will be together in the account folder. Stories and highlights will have their own folder within the account folder. For example "C:/yourpath/Instagram/sophiadiamond/Stories".

Note that I don't use any options to change the filenames, with these options, files will have the default filename as it is on the instagram servers. If you want to customize filenames, for example to include the date in them, refer to gallery-dl
Please, Log in or Register to see links and images
, or search on reddit... I'm sure somebody already asked how to do just that on r/DataHoarders.
 
Last edited:

bazingerZ

Tier 2 Sub
Oct 26, 2022
18
194
384
0fya082315al84db03fa9bf467e3.png
Instagram will ban accounts downloading pictures, probably using traffic meassuring and other AI methods.
I've been using instaloader (python) it works perfectly but gets you banned in less than a minute.

As OP said here, creating burner accounts on mayor sites (social networks, email) is getting impossible without using real phone numbers. Burner SMS online services works 1 on 100 times, they detect those phone numbers and blacklists them. Burner emails are hard to get working too, they blacklist all they find and require a "mayor brand" email (gmail, yahoo, outlook, etc).
This should rise a concern for all of you: they can see and check a lot of stuff if they want.
Think of this when having a real account on any service.

For NON-PRIVATE profiles you can use this site:
Please, Log in or Register to see links and images

If you want to burn an account to get a partial profile (will stop middle download, unless the profile has little media):
Please, Log in or Register to see links and images

Don't be afraid, its not "supercomplex developers stuff" you must install python (download installer execute, tick "set PATH..", next, next, next) and to use the app, you run it from your CMD, it only takes 2 arguments (the "-things" after instaloader). But remember your account will probably be banned, VPN or not.

Unless the guys that develop these tools start taking a look at the core problem (which is getting burner accounts) I'm afraid that instagram farming will have to be done manually.
 

Obicase

Bathwater Drinker
Mar 16, 2022
59
1,648
1,252
0fya082315al84db03fa9bf467e3.png
Yo, two months ago I posted on this thread to report that two of my instagram accounts had gotten banned and I was wondering if it was because they were "fake-looking" accounts with not enough subscribers/posts or if it was because instagram had managed to detect gallery-dl, which I had used for months with no problem. I had no way of knowing since instagram didn't provide a reason for the ban at the time.

I checked again a week later and instagram had finally given me the reason why my accounts were banned : use of botting/external software. Which means they did detect gallery-dl.

I went on the gallery-dl github to report that, and the dev explained that the likely reason I got detected is because my user-agent in my gallery-dl config file was outdated.

Turns out, he was totally right. I replaced the user-agent in my config file with one that matched my browser, started using gallery-dl again, and now I have been using gallery-dl again for about a month, downloading hundreds of files a day, with no problem.

So, I highly recommend using gallery-dl to download instagram content. It is the best software in my experience, you can automate everything : gallery-dl can automatically make separate folders for each account you download and separate folders for stories/highlights/posts/reels ; you can customize the filenames to include the date, the original filename, the description, etc. ; and if you want you can even download metadata in separate text files such as descriptions, comments, likes, etc.

Oh, and lastly, it's not just limited to instagram. It can download files from just about any website you'd want to download from, and again, everything is neatly and automatically sorted just the way you want it. For exemple I also use gallery-dl to download from twitter, vsco, reddit, kemono, etc.

However I would not recommend to use gallery-dl with your main account. It is against instagram's rules so if they ever figure out how to detect it again, you will be banned. Make another account for it. In my experience, every other software I used to download from instagram got me banned almost instantly after downloading more than 100 files, gallery-dl is the only one that they can't detect, so it's still the safest.

I will post a guide on how to use gallery-dl in my next post, I figured it's probably better to separate it into its own post.
 

Obicase

Bathwater Drinker
Mar 16, 2022
59
1,648
1,252
0fya082315al84db03fa9bf467e3.png
Yo guys. In case anyone is using gallery-dl to download from instagram, here's an update to the guide I posted in this thread a while ago.
In your config file, add this to your highlights config :

Code:
Please, Log in or Register to view codes content!
This will make it so highlights get download from earliest file to oldest, instead of the default which is oldest to newest, and it will stop scraping after 5 consecutive files have been skipped (files you already have). This is especially useful when updating a highlights you had already downloaded in the past. This results in less requests to instagram servers, which not only saves you time, but also reduces the risk of being detected.

In the main instagram config I also increased the sleep to 1.5-5s and the sleep-request to 9-17s out of precaution, because after all I can just let it run in the background slowly.

I've been downloading using the same account since I made the guide, so since may, and haven't gotten a single warning or ban or anything on it. Seems like the key is to have as few requests as possible, long sleep timers, and to make sure the user-agent is matching your browser when you update it.
 

bohatot

Bathwater Drinker
Aug 5, 2023
236
5,915
909
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to see links and images
Instaloader
  • downloads public and private profiles, hashtags, user stories, feeds and saved media,
  • downloads comments, geotags and captions of each post,
  • automatically detects profile name changes and renames the target directory accordingly,
  • allows fine-grained customization of filters and where to store downloaded media,
  • automatically resumes previously-interrupted download iterations.
 

Hashball

Bathwater Drinker
Mar 11, 2022
242
9,567
1,302
0fya082315al84db03fa9bf467e3.png
being using jdownloader since it was suggested here. these are my conclusions.
After downloading about 1500 pics account is blocked & I can't even reset password or log into it.
Opened up another instagram account & after one profile download I can't receive download links no matter which profile I choose.
These kind of limits are seem to be resetting in 24-48 so carefully choose your accounts to download.
downloading only 1 account per day is not very usable so I will have to find another program to bulk download profiles
 
  • Like
Reactions: Fordaboyss and Earl

gordaperodepilada

Bathwater Drinker
Aug 9, 2022
145
3,572
1,252
0fya082315al84db03fa9bf467e3.png
I do believe as of now the best way to download from Instagram is using
Please, Log in or Register to see links and images
. Since it's built on top of the original Instagram APK it's pretty much the same as browsing the app, you can download stories, reels, posts at max quality. It's great for something you keep up to date with, as you cannot mass download, I've used to download hundreds of files a day and have never got any issue whatsoever, as opposed to Instaloader that got my account banned around a month ago or so. It's still possible to use Instaloader without an account an get up to 1080x1350 pictures, but will get your IP banned pretty soon.
 

Wanda

ᴍᴏᴍᴍʏ💕
Jan 31, 2022
7,462
28
266,503
2,833
0fya082315al84db03fa9bf467e3.png
If that's something you're worried about, just use a different account to download.
 
  • PeepoLove
Reactions: BetterMovement

Hashball

Bathwater Drinker
Mar 11, 2022
242
9,567
1,302
0fya082315al84db03fa9bf467e3.png
it's not that simple instagram is doing verification by phone numbers, can't use the same number twice
I do have a second phone for that but you get my point.
buying sims & switching them is alot of hassle if you can't even get a whole account in one go.
when your account get's locked it stays locked for 24-48 hrs. it also requires video verification which often fails leading to another 24 hrs of a technical ban.
second violation can be a couple of days up to a week.
since this app is using my username & password i can't really see how it will be different but i will try & let everyone know my findings