InstaPy / InstaPy/instapy-quickstart

TypeError: unfollow_users() got an unexpected keyword argument 'InstapyFollowed'

Ouverte
#261 0 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

I am using the latest version

`Successfully installed api-display-purposes-0.0.3 instapy-0.6.16 semantic-version-2.9.0 setuptools-rust-1.3.0`

When I try go run this template https://github.com/InstaPy/instapy-quickstart/blob/master/quickstart_templates/basic_follow-unfollow_activity.py I get an error:

```
Traceback (most recent call last):
File "/Users/loukas/Desktop/basic_follow-unfollow_activity.py", line 56, in
session.unfollow_users(amount=500, InstapyFollowed=(True, "nonfollowers"),
TypeError: unfollow_users() got an unexpected keyword argument 'InstapyFollowed'
```

can you update the templates?

Guide de contribution

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

Piste de recherche

Start with the basic_follow-unfollow_activity.py template linked in the issue and compare its unfollow_users call with the current InstaPy API signature. Update the template so it no longer passes the rejected argument, then run the template to confirm the TypeError is gone.

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

Évaluation

Stack technique
python
Domaine
documentation
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

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