InstaPy / InstaPy/instapy-quickstart

How can I script to have headless browser clear cache and re-login?

Open
#94 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
777
Forks
763
PR merge metrics
No merged PRs in 30d

Description

I'm having some issues: "Action blocked" (liking) or unable to open a profile page and it would tell me "try again in a few minutes"

This was solved by clearing cache and having the bot continue

Restarting the script _without_ clearing cache did _not_ solve it, so I have been searching how to make the script clear cache before the initial login but I'm unsuccessful and not a coder either

Could someone help me with this? I would love to run the script on a server eventually and so I can't manually clear the cache

Thank you!

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named in the issue. Start by locating the headless-browser login flow and existing cache handling, then define how a non-interactive run should clear cache before login and how success would be verified on a server.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.