InstaPy / InstaPy/InstaPy

--> Image not liked: b'Unavailable Page' Raspberry PI 4 Ubuntu 21.10

Open
#6,416 27 comments 0 reactions 0 assignees View on GitHub
Raspberry Pi
Dominant language
Python
Stars
18.2k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have some issues when i run quickstart.py on my raspberry pi4 running ubuntu 21.10

After lot of installation issues i finally run my quickstart.py file

I use Firfefox-esr 78.10 and arm version of geckodriver.

When i launch the script, some errors appear :
`WARNING [2021-12-02 21:38:35] [myaccount] - Hide Selenium Extension: error
`
`WARNING [2021-12-02 21:47:05] [myaccount] Unavailable Page: b'https://www.instagram.com/p/CW9RrwFBK7L/'
INFO [2021-12-02 21:47:05] [myaccount] --> Image not liked: b'Unavailable Page'
`

## InstaPy configuration
`# imports
from instapy import InstaPy
from instapy import smart_run

# login credentials
insta_username = 'account'
insta_password = 'pass'

comments = ['Super photo !',
'Top !',
'Jolie Cliché !',
'Nice pic !',
'Nice shot !',
'Nice!',
'So clean !',
'Propre !',
'sympa',
'jolie',
'interesting !']

# get an InstaPy session!
# set headless_browser=True to run InstaPy in the background
session = InstaPy(username=insta_username,
password=insta_password,
headless_browser=False)

with smart_run(session):
""" Activity flow """
# general settings
session.set_dont_include(["friend1", "friend2", "friend3"])

# activity
session.like_by_tags(["z50r", "hondamonkey", "hondadax", "hondaz50r", "st70", "z50j", "crf50", "crf70", "xr50", "fast50s", "sano", "takegawa", "kitaco"], amount=7)
session.set_do_follow(True, percentage=10)

# Joining Engagement Pods
session.set_do_comment(enabled=True, percentage=15)
session.set_comments(comments)
session.join_pods(topic='minibike', engagement_mode='no_comments')`

Thank you for the time to read.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.