Instagram is a popular social media platform and there are lot of username/handle is registered and thus people are facing problem when register username they want. Today I wrote an iMacro script that will mass check list of usernames available and then you can pick one of the username to register.
Instruction:
- Copy iMacro Script below and Past the to iMacro.
- You just need to change the location of Input File and Output File. Input File is where you have list of Instagram Username/Handle you want to check. The Output File is the result of checking.
Search and Change Input File:
SET !DATASOURCE C:\Users\COMPUTERNAME\Documents\iMacros\Downloads\instagram_check_username.csv
Search and Change Output File:
SAVEAS TYPE=EXTRACT FOLDER=C:\Users\COMPUTERNAME\Documents\iMacros\Downloads\ FILE=instagram_check_username_results.csv
iMacro Script:
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
VERSION BUILD=8970419 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
SET !EXTRACT_TEST_POPUP YES
'Specify input file for List of Username to Check
SET !DATASOURCE C:\Users\COMPUTERNAME\Documents\iMacros\Downloads\instagram_check_username.csv
SET !LOOP 2
SET !DATASOURCE_LINE {{!LOOP}}
SET !VAR1 {{!COL1}}
SET !VAR2 {{!NOW:yyyy/mm/dd_hhnn}}
set !extract null
TAB T=1
URL GOTO=https://www.instagram.com/{{!COL1}}/
SET !VAR8 EVAL("var randomNumber=Math.floor(Math.random()*2 + 10); randomNumber;")
WAIT SECONDS={{!VAR8}}
'Check If Username Found or Not Found
TAG POS=1 TYPE=* ATTR=* EXTRACT=HTM
SET !VAR0 EVAL("var s="{{!EXTRACT}}"; if (s.match(/The link you followed may be broken, or the page may have been removed./g)){var x = "This Username is Available";} else {var x="Username Registered";}x; ")
set !extract null
' Save Timestap, Username & Username Availability to a CSV File
ADD !EXTRACT {{!var2}}
ADD !EXTRACT {{!var1}}
ADD !EXTRACT {{!var0}}
'Output Result File - Directory and File Name
SAVEAS TYPE=EXTRACT FOLDER=C:\Users\COMPUTERNAME\Documents\iMacros\Downloads\ FILE=instagram_check_username_results.csv
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''