InstaPy / InstaPy/instapy-quickstart
Not able to unfollow users! Any scripts to test?
- 主要言語
- Python
- スター
- 777
- フォーク
- 763
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi, with my script I can't unfollow users.
It seems the first time after some hours began to delete someone (just 8 users), but then any more.
My script is the following, please could you check if is there anything wrong or if I have to modify something else?
Othersiwe could you suggest me a simple script just to unfollow?
Thanks a lot.
import random
from instapy import InstaPy
from instapy import smart_run
session = InstaPy(username='...', password='...', headless_browser=False)
with smart_run(session):
hashtags = ['...']
random.shuffle(hashtags)
my_hashtags = hashtags[:5]
session.set_ignore_if_contains(['...'])
session.set_dont_like(['...'])
session.set_do_follow(enabled=True, percentage=20, times=1)
session.set_do_comment(enabled=True, percentage=50)
session.set_comments(['...'], media='Photo')
session.set_do_like(True, percentage=60)
session.set_delimit_liking(enabled=True, max_likes=150, min_likes=0)
session.set_delimit_commenting(enabled=True, max_comments=10, min_comments=0)
session.set_relationship_bounds(enabled=True,
potency_ratio=None,
delimit_by_numbers=True,
min_posts=15,
max_posts=3000,
max_followers=10000,
max_following=8000,
min_followers=50,
min_following=50)
session.set_quota_supervisor(enabled=True,
sleep_after=['likes'],
sleepyhead=True, stochastic_flow=True,
notify_me=True,
peak_likes_hourly=25,
peak_likes_daily=350,
peak_comments_hourly=15,
peak_comments_daily=150,
peak_follows_hourly=15,
peak_follows_daily=70,
peak_unfollows_hourly=30,
peak_unfollows_daily=150,
peak_server_calls_hourly=400,
peak_server_calls_daily=4000)
session.set_user_interact(amount=10, randomize=True, percentage=50)
session.set_mandatory_language(enabled=True, character_set='LATIN')
session.like_by_tags(my_hashtags, amount=10, media=None)
session.unfollow_users(amount=150, InstapyFollowed=(True, "all"), style="FIFO", unfollow_after=30*60*60, sleep_delay=600)
session.unfollow_users(amount=150, nonFollowers=True, style="RANDOM", unfollow_after=42*60*60, sleep_delay=655)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reproducing the behavior from the supplied script, focusing on the session.unfollow_users entry point and its InstapyFollowed, nonFollowers, unfollow_after, and sleep_delay options. Determine why the requested users are not unfollowed and confirm the behavior with a minimal script or documented usage; done means the cause and a reliable correction are identified.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100