This scraper will extract the account name, bio and website from Instagram accounts. Results are saved in a CSV file that can easily be filtered in Excel. The file will be located in the folder C:\Users\USERNAME\Documents\iMacros\Downloads. Username will be your unique PC username. If you have any questions drop a comment below or shoot me an email.
SCRIPT:
SET !ERRORIGNORE YES
SET !EXTRACT_TEST_POPUP NO
SET !TIMEOUT_STEP 1TAB T=1
WAIT SECONDS=2
TAG POS={{!LOOP}} TYPE=A ATTR=HREF:/p/*
WAIT SECONDS=1TAG POS=1 TYPE=A ATTR=CLASS:_2g7d5<SP>notranslate<SP>_iadoq EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}TAB OPEN
TAB T=2
URL GOTO=https://www.instagram.com/{{!VAR1}}
WAIT SECONDS=2TAG POS=1 TYPE=H1 ATTR=CLASS:_kc4z2
TAG POS=R1 TYPE=SPAN ATTR=TXT:* EXTRACT=TXT
SET !VAR2 {{!EXTRACT}}TAG POS=1 TYPE=A ATTR=CLASS:_ng0lj EXTRACT=TXT
SET !VAR3 {{!EXTRACT}}SAVEAS TYPE=EXTRACT FOLDER=* FILE=bios.csv
TAB CLOSE
TAB T=1
TAG POS=1 TYPE=BUTTON ATTR=TXT:Close