InstaPy / InstaPy/instapy-quickstart

Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it

Ouverte
#42 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
777
Forks
763
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hey Team!

I want to follow people using InstaPy, but something is keeping my code from running.

This is the code:
....
# get an InstaPy session!
session = InstaPy(username=insta_username,
password=insta_password,
headless_browser=True,
multi_logs=True)

with smart_run(session):
""" Activity flow """
# general settings
session.set_relationship_bounds(enabled=True,
potency_ratio=None,
delimit_by_numbers=True,
max_followers=6000,
max_following=3000,
min_followers=30,
min_following=30)

session.set_dont_include(["friend1", "friend2", "friend3"])

ammount_number = 50
session.follow_user_followers(['refikanadol', 'nvidia', 'lilmiquela', 'bruthethe', 'tiltgamer', 'wuyckhuyse'],
amount=ammount_number, randomize=False, interact=True)

....

When ran, the quickstart logs in and starts by going to refikanadol's followers, but then the session is interrupted.

Here's the error:
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

Do you know the fix for this?

Thanks!
Tijana

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Le rapport fournit une session Python InstaPy et un WinError 10061 pendant follow_user_followers, mais ne nomme aucun fichier ni aucun test. Commencez par reproduire le flux quickstart autour de cet appel et déterminer les conditions d’échec. Le résultat attendu doit inclure une correction documentée et reproductible pour la connexion refusée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
tooling
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.