74 questions
1
vote
1
answer
3k
views
Instaloader returning 401 from Instagram API when run on vps, but OK from pc/ubuntu
I've worked up a Python script using Instaloader (4.14) to pull images and descriptions off a feed of mine, which I then string parse and do stuff with. It's working perfectly when run on my laptop (...
0
votes
1
answer
844
views
I want to get the image url from a instagram post url
example, this is a post id : https://www.instagram.com/p/C8_ohdOR/
I want the image src.
first I used selenium for to login and then crawl the image src. so by this I am getting the src. But is there ...
0
votes
1
answer
996
views
Instaloader 400 Bad Request - "fail" status, message "feedback_required"
I am trying to use instaloader python module to fetch data from any Instagram profile by username, but I encounter a 400 Bad Request - "fail" status, message "feedback_required" ...
3
votes
2
answers
3k
views
Download Instagram reel audio only with Instaloader/Python or any way
I am trying to download the audio in the following format
https://www.instagram.com/reels/audio/1997779980583970/. Below code is returning "Fetching metadata failed".
I am able to download ...
0
votes
1
answer
540
views
using instaloader to only download the instagram post caption
Is it possible to only download the caption (the description) of a post, given the post short code, using python 3.12 and the latest version of the instaloader library? I am insterested in using ...
1
vote
1
answer
912
views
Instaloader stopped downloading at 12th posts
Instaloader newest version 4.12.1 on Python 3.11.5 stopped downloading at the 12th post without raising any exception even though the user has 48 downloadable posts.
L = instaloader.Instaloader(
...
1
vote
1
answer
2k
views
Is it possible to download a instagram reel with audio, using instaloader?
I have been trying to download a instagram reel using instaloader, but it downloads the reel without audio every time. How can i download the unmuted reel or is it even possible.
I found this question ...
2
votes
0
answers
876
views
Python/Instaloader - How to download a reel with sound?
How do I download a reel from Instagram with sound using a library called Instaloader in Python?
import instaloader
L = instaloader.Instaloader()
post = instaloader.Post.from_shortcode(L.context, &...
0
votes
0
answers
428
views
How to download comments in instaloader
I want to download only comments to all posts. How can i do this?
Now I'm downloading json files, images for posts and descriptions.
but I probably only need json files to extract comments from there.
3
votes
1
answer
1k
views
Instaloader: JSON Query to explore/tags/hashtag/: 404 Not Found
I am constantly getting an error where when I try to scrape posts from a specific hashtag using instaloader, I am getting the error: JSON Query to explore/tags/hashtag/: 404 Not Found
Here is my ...
0
votes
1
answer
950
views
Instaloader not providing complete list of followers when scraping
I am currently using instaloader for scraping followers on Instagram, but it seems that I am not getting the full list of followers as expected. I want to scrape all the followers of a particular ...
0
votes
1
answer
715
views
Profile does not exist. Instaloader
I am trying to do scraping with the instaloader library in python in a firebase cloud function, but I have a strange behavior.
When I run my code in the local firebase emulator it works perfect and I ...
0
votes
0
answers
284
views
how to resolve request error in this code
I need a way to not be see as a boot by instagram in order to avoid the 401 error by the intagram server this code is a leed generator that looks for posts with a certain hashtag and collects the user,...
0
votes
0
answers
225
views
Extracting an instagram user's following count and bio
I tried everyway including instaloader etc. But everytime I got a problem. How can I extract an user's general information? I tried to use instagram API but API only works on consumer accounts. I ...
0
votes
1
answer
243
views
Follower Count instaloader
I want to print the amount of followers the target user has using instaloader.
def FollowerCount():
return(profile.get_followers())
print(FollowerCount())
but I get this
<instaloader....
1
vote
0
answers
797
views
Instloader - Facing issue while getting profile information using username, previously It was working
Library Link: https://github.com/instaloader/instaloader
import instaloader
ACCOUNT_USERNAME=""
ACCOUNT_PASSWORD=""
# Creating an instance of the Instaloader class
bot = ...
1
vote
0
answers
2k
views
'instaloader' is not recognized as an internal or external command, operable program or batch file
'instaloader' is not recognized as an internal or external command,
operable program or batch file.
pip install instaloader
instaloader --help
error: 'instaloader' is not recognized as an internal or ...
1
vote
1
answer
473
views
Instaloader library throws 'date_utc' error when given a link to download a post
Here is my code:
import instaloader
def download_instagram_post(post_url):
# Create an instance of Instaloader
loader = instaloader.Instaloader()
# Download the post
try:
...
0
votes
1
answer
2k
views
How to resolve error while using instaloader?
I'm just trying to login using the docs:
import instaloader
import pandas as pd
# Creating an instance of the Instaloader class
bot = instaloader.Instaloader()
bot.login(user="USERNAME", ...
3
votes
2
answers
6k
views
Python Instaloader web crawling HTTP error code 401
I am trying to download photos with a list of short codes from Instagram by using Instaloader module in Python. After several successful downloading, I received the following error:
...
-1
votes
1
answer
854
views
Does anyone know how to download only new images from an instagram profile in python using instaloader?
I'm doing a project where I use the instaloader API for python and I want to download images from the feed and stories of a profile, but I want the loop code to only download the images if they are ...
-1
votes
1
answer
4k
views
How I could download a single post by url using instaloader?
I have a problem with python library instaloader, this one is really cool but I can`t find a method to download a post by url or post id. Everything I have found is terminal command in official ...
0
votes
1
answer
2k
views
Is there a way to download videos WITH sound with instaloader?
I'm trying to use instaloader to download instagram videos (reels) via "shortcode" of those videos (essentially the link to the video) this is my current approach:
import instaloader
L = ...
1
vote
0
answers
2k
views
Instaloader not using --login?
I've downloaded instaloader, and i'm trying to download a private profile and use the --login command to make a session file. However each time i put it in and enter the password it gives
C:\Users\...
0
votes
1
answer
616
views
Pip not recognized to install program
I'm trying to install instaloader and running into problems.
IU've downloaded the github file, extracted it, installed python and pip, i think. Now while runninng
pip3 install instaloader
in the ...
-1
votes
1
answer
198
views
Scraping: run for loop n number of times
I am using instaloader to scrape instagram posts as part of a study project.
To avoid getting shut down by instagram, I use sleep function to sleep between 1-20 sec between each round. This works well....
0
votes
1
answer
2k
views
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 ...
0
votes
1
answer
1k
views
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 ...
0
votes
1
answer
2k
views
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 ...
0
votes
1
answer
367
views
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 ...
0
votes
0
answers
383
views
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....
1
vote
0
answers
814
views
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"
...
1
vote
1
answer
3k
views
Downloading A Picture of an individual Instagram post with with Instaloader and Python
Using Python and the Instaloader package I am able to to download A profile Picture via this code
import instaloader
dp = instaloader.Instaloader()
dp.download_profile(profile_name, ...
0
votes
0
answers
225
views
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 ...
0
votes
1
answer
94
views
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 ...
1
vote
1
answer
58
views
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 ...
3
votes
3
answers
7k
views
How to login successfully in Instaloader in python?
I am trying to scrape data from Instagram using the 'instaloader' python modules. When using this code:
import instaloader
L = instaloader.Instaloader()
L.login(USERNAME, PASSWORD)
The code throws ...
1
vote
1
answer
315
views
python tkinter goes not responing
I just made a simple project with Tkinter GUI, but when I launch it and enter username, its window stops responding 'til the requests and instaloader processes are done, then it will be ok. Can I make ...
2
votes
1
answer
2k
views
InstaLoader - login from a file or using a password
Can it be done like this:
If load_session_from_file fails, for example because the password has changed, is there any way to catch the error and for example authorize via username and password?
Like ...
0
votes
1
answer
689
views
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 ...
1
vote
1
answer
2k
views
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 ...
0
votes
1
answer
1k
views
How to Check Instaloader is Login successfully in python?
I going to Python from C# for a few days and don't know how to get callback functions in Python?
Please advise how I can find out if the login was successful and otherwise give me a chance to retry ...
1
vote
0
answers
610
views
Avoid Instagram suspecting if trying to connect with Instaloader Python API, how?
I am using the Instaloader Python API for a project. Every time I successfully log-in I get a notification on my Instagram app that someone tried to connect to my account. Everything is ok, I can ...
1
vote
0
answers
477
views
Which code i can add to take data for saved posts using instaloader? Python
Which code i can add to this code to get information about data to each saved post using instalouder? Please help!
import instaloader
def save_insta_collection():
username = 'cursach2022'
loader = ...
0
votes
0
answers
233
views
Why is there an attribute error when im trying to import Instaloader?
I got an error saying AttributeError: 'LockedStream' object has no attribute 'encoding' when im trying to import Instaloader. Anyone seems to know why?
Here's the screenshot of the error
Been ...
2
votes
3
answers
2k
views
Instaloader, get n most recent posts
Currently, the below code returns all the posts from the profile:
profilename = 'oneplus'
loader = instaloader.Instaloader()
profile = Profile.from_username(loader.context,profilename)
posts = ...
0
votes
0
answers
196
views
Kivy app Crashing when using Instaloader module Android
I wrote an app that uses Instaloader and kivy and added all the requirments to the buildozer.spec file
buildozer.spec requirements:
requirements = python3,kivy,kivymd,pillow,requests,urllib3,certifi,...
4
votes
2
answers
12k
views
Download only instagram videos with instaloader
This code is working for downloading all photos and videos
from instaloader import Instaloader, Profile
L = Instaloader()
PROFILE = "username"
profile = Profile.from_username(L.context, ...
0
votes
1
answer
6k
views
Instaloader -How do I use the get followers/followees to get the full name of the user in addition to the user name?
I use the below script all the time and it works great for the follower and followee lists. How can I also scrape the full name of the user if it is provided? I'm aware of '''property full_name''' but ...
0
votes
1
answer
209
views
Instaloader Scrape Results Lost On Computer?
>>> import instaloader
>>>
>>> insta=instaloader.Instaloader()
>>>
>>> insta.login('myusername', 'mypassword')
>>>
>&...