Questions tagged [instaloader]
82 questions
1
vote
0 answers
Filter Instagram Hashtag Search by Location - Python
Example:
I want to see all the posts with the word "Uber" but only in Argentina
currently working with a modified version of this:
https://github.com/imakashsahu/Instagram-Graph-API-Python
with this as list of fields gathered in a CSV…

tgc
- 27
- 5
1
vote
1 answer
How can access all of the images in Instagram slides (posts with multiple images or videos) with Instaloader?
I'm using Instaloader to develop an Instagram scraper bot. here's part of my code that is getting images url from install by each profile:
def scrapImageAddresses(PROFILE):
print(PROFILE)
L = Instaloader()
L.login('####', "####")
…

Vala Khosravi
- 2,352
- 3
- 22
- 49
1
vote
1 answer
Clearing Cache on Firefox doesn't absolve instagram lockout from Instaloader session
I have been using the code below to load my firefox session to allow me to scrape instagram posts. I got locked out of one of my scraping instagram accounts and don't have access to the phone or email (they are not recoverable). Instagram says the…

mk2080
- 872
- 1
- 8
- 21
1
vote
1 answer
Get list of users who commented or liked post on instagram with Python
I have discovered Instaloader lib in Python that allows to scrape Instagram profiles. Its very good, but I cant find a way to get list of users who commented or liked post on instagram.
I have looked all over the documentation but I cant find the…

taga
- 3,537
- 13
- 53
- 119
0
votes
0 answers
Does Instaloader have a limit on the maximum number of followers/following usernames that can be downloaded?
I've been using Instaloader and noticed something peculiar when it comes to downloading usernames from followers or following. Does Instaloader have any restrictions on the number of followers or following usernames it can fetch?
I ask this because…

f05135
- 56
- 7
0
votes
0 answers
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, follow details the code below.
import…

joao paulo
- 11
- 3
0
votes
0 answers
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 tried instaloader it worked but after while I got…

freeengineer
- 55
- 3
0
votes
1 answer
How to set download directory?
def download_video(url, save_path):
loader = instaloader.Instaloader()
try:
post = instaloader.Post.from_shortcode(loader.context, url.split("/")[-2])
video_url = post.video_url
response = requests.get(video_url,…

AHSAN USMAN
- 1
- 1
0
votes
0 answers
Instaloader downloading same posts over and over again
I need to download all post with specific hashtag. I'm using Instaloader for this.
Code:
import instaloader
from datetime import datetime
# Create an instance of Instaloader class
L = instaloader.Instaloader()
L.download_pictures =…

wineT
- 15
- 4
0
votes
1 answer
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

JoubasaurusREX
- 13
- 4
0
votes
0 answers
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 = instaloader.Instaloader()
bot.login(ACCOUNT_USERNAME, ACCOUNT_PASSWORD)
…

Yash Chauhan
- 174
- 13
0
votes
0 answers
'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 external command,
operable program or batch…

user9260781
- 13
- 4
0
votes
1 answer
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:
loader.download_post(post_url, target='#posts')
…

AnotherRandomUser
- 119
- 5
0
votes
0 answers
Instaloader getting 401 error code, so I tried using the login feature. The login gets blocked because instagram finds the login suspicious
My objective is to write a script that finds a random post from a set instagram profile, and then it'll output the post link.
Here's what I first tried.
import random
import instaloader
L = instaloader.Instaloader()
profile =…

devmax
- 13
- 2
0
votes
0 answers
Is there any way to continue the scraping process from the last extracted username on instagram?
I am trying to fetch all the followers of a user in python using instaloader package. I can fetch around 30 thousand usernames from one at a time, and after that the provided account got banned by Instagram. By running the script for the first time,…

MD Sulaiman
- 185
- 1
- 15