zhehaowang / themistalkles

Instagram automation to stalk the ones you follow!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

themistalkles

(Ultimate) goal: scrape user public data to gain insights and produce a profile.

What it does

Instagram automation: (daily cron) log in as my user, switch to 'activity' -> 'following', and collect the text feeds since 1 day ago, and store them in ./src/feeds/, in a structured format

Setup

How to use

  • given credentials/insta.json containing
{
    "username": "xxx",
    "password": "yyy"
}
  • run cd src; ./insta.py to run automated test.

Troubleshooting

  • appium takes a long time to connect inspector / run app: check environment variable proxy setting
  • activity startup: to figure out appWaitActivity and appWaitPackage, run this the window is active:
adb shell dumpsys window windows | grep -i activity
  • Appium device inspector: use capabilities json to inspect instagram
  • apk abi mismatch: emulator abi (x86, arm, etc) needs to match apk abi
INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113

About

Instagram automation to stalk the ones you follow!

License:The Unlicense


Languages

Language:Python 99.2%Language:Shell 0.8%