Questions tagged [instaloader]
82 questions
0
votes
0 answers
How do I use instaloader to check the follow counts of a large number of files?
I am looking for a way to take a txt file of instagram usernames and append the number of followers that account has next to it using instaloader. How do I get the code to look through my txt file line by line and check? As of now I get a 400 bad…

mcccc
- 13
- 4
0
votes
1 answer
Using requests to check instagram pages followers follower count
The title sounds a bit confusing but I am trying to get the follower count of all of the followers of an instagram page. So an example output would be
John 17 followers
adam 120 followers
will 172 followers
This is what I have so far but…

mcccc
- 13
- 4
0
votes
0 answers
While using Instaloader via command line, how can I force 429 errors to cause requests to be retried after a longer period of time?
I am using Instaloader via command line on Windows 11, with the following command:
.\instaloader --login=MYUSERNAME :saved --dirname-pattern="Saved_Posts\{profile}" --filename-pattern="{profile}-{shortcode}" --no-resume --no-metadata-json --slide 1…

Jack Nagy
- 3
- 1
- 5
0
votes
0 answers
How do I login with Instaloader with this new error?
I was previously able to login with Instaloader (v 4.9.5) using both:
L.login(username, password)
L.interactive_login(username)
This code is no longer working and now returns this error:
KeyError: "name='csrftoken', domain=None, path=None"
This is…

Ben Ludford
- 3
- 2
0
votes
1 answer
Instaloader error while fetching csrftoken
Im trying to get the list of the followers in my instagram account.
I see that the program succeeds to log in because every time I run it I receive an email from instagram about a new access to my instagram account but then I get this error.
About 2…
0
votes
1 answer
Someone knows about instaloader request limits?
I'm doing an Instagram scraper (specifically I'm extracting the data of the following accounts from a primary account) and the program sends me an exception error:
The program only scrapes 200 following accounts and that happens, when the program…

Santiago Betancourt
- 331
- 1
- 3
0
votes
0 answers
Instaloader Likes Scrapping difference
Instaloader didn't work as expectation. I write a for loop to loop through likes in a post and grap the liker's username, however the return amount of people is less than actual likes. I was wondering what leads to this happen.
my code
if __name__…

lok cheng
- 15
- 4
0
votes
1 answer
How to print Instaloader data to CSV?
I'm not sure the root of this problem - ultimately, I'm trying to retrieve the followers of an Instagram account ("strengthinsheets") and their number of followers.
There are no issues with the data -- however, I originally tried to use Gspread and…

Anthony Madle
- 371
- 1
- 10
0
votes
0 answers
trying to download my feed with instaloader
Where do I look for this problem?
from instaloader import Instaloader, Profile
import instaloader
L = instaloader.Instaloader()
L.load_session_from_file("wetbanana420")
L.download_feed_posts(max_count=20,
post_filter=lambda post: post.is_video)

Vibe Improvement
- 23
- 4
0
votes
0 answers
Download only instagram photos with instaloader
This code is working for downloading Instagram videos
from instaloader import Instaloader, Profile
L = Instaloader()
L.login("username","Pass")
PROFILE = "instagram"
profile = Profile.from_username(L.context, PROFILE)
posts_sorted_by_likes =…

Rasedul Islam
- 77
- 1
- 9
0
votes
0 answers
How i can slice Nodeiterator in python ? I
I want to download followers of an instagram account using instaloader ,but the profile i want to scrape contains almost 800 followers and instaloader allows me to scrape 200 followers for single code run and i have to run same code again and…

zohaib hassan
- 11
- 3
0
votes
1 answer
Python Value Output Changing when pushed to Google Sheet
I've used Instaloader to collect profile data and push to a Google Sheet. In terminal, the output is correct.
When the info loads into the spreadsheet - the numbers are inaccurate.
I've tried switching the type of followee.followees (integer,…

Anthony Madle
- 371
- 1
- 10
0
votes
1 answer
Understanding server requests: instances vs references
I am trying to understand a Python package called Instaloader and how many requests are actually being made to the Instagram server. With Instaloader, one can create a Profile instance from a given username with the following snippet of code:
loader…

root_seeker
- 1
- 2
0
votes
1 answer
Instaloader - receive media count for inputted hashtag
I'm looking to simply input a series of hashtags and be outputted with those hashtags and their associated post count.
I believe I can use the mediacount property:
"The count of all media associated with this hashtag."
As found here:…

Kal-Toh
- 77
- 1
- 6
0
votes
1 answer
Instaloader - Download All Stories with Custom Naming Patterns
I'm trying to download all stories of what my profile follows using "Instaloader" in a Python module.
The default naming pattern uses "{date_utc}_UTC". I want to name all stories with the "profilename-dateuploaded" pattern and store them in separate…

SG pro
- 1
- 2