Windows Version: 10
Browser: iMacros Browser & IE v11.334.16299.0
Website: LinkedIn.com - Specifically Company Pages I.E: https://www.linkedin.com/company/verizon
Script:
Code: Select all
TAB T=1
TAB CLOSEALLOTHERS
' Specify input file (if !COL variables are used, IIM automatically assume a CSV format of the input file
'CSV = Comma Separated Values in each line of the file
SET !DATASOURCE D:\*********\input.csv
'Start at line 2 to skip the header in the file
SET !LOOP 78
'Increase the current position in the file with each loop
SET !DATASOURCE_LINE {{!LOOP}}
SET !TIMEOUT_PAGE 15
SET !TIMEOUT_STEP 15
SET !ERRORIGNORE Yes
' Fill web form
'SET !PLAYBACKDELAY 0.00
URL GOTO=https://www.google.com.au/search?ei=j7-1WseaJsH18QWekaywCg&q=a&oq=a&gs_l=psy-ab.3..0i13k1l10.465.1069.0.1291.2.2.0.0.0.0.229.229.2-1.1.0....0...1.1.64.psy-ab..1.1.227....0.CUOUQ7bRfCI
WAIT SECONDS=5
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:q CONTENT={{!COL1}}<SP>Linkedin
TAG POS=1 TYPE=BUTTON:SUBMIT ATTR=NAME:btnG
WAIT SECONDS=5
TAG POS=1 TYPE=CITE ATTR=TXT:* EXTRACT=TXT
URL GOTO={{!EXTRACT}}
SET !EXTRACT NULL
SET !TIMEOUT_STEP 15
TAG POS=1 TYPE=H2 ATTR=TXT:About<SP>us
SET !TIMEOUT_STEP 6
ADD !EXTRACT {{!COL1}}
TAG POS=1 TYPE=H1 ATTR=CLASS:org-top-card-module__name<SP>Sans-26px-black-85%-light EXTRACT=TXT
TAG POS=1 TYPE=P ATTR=CLASS:org-about-company-module__company-staff-count-range<SP>Sans-15px-black-70%<SP>mb3 EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=CLASS:company-industries<SP>org-top-card-module__dot-separated-list EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=CLASS:org-top-card-module__location<SP>org-top-card-module__dot-separated-list EXTRACT=TXT
ADD !EXTRACT {{!URLCURRENT}}
SAVEAS TYPE=EXTRACT FOLDER=* FILE=*
- iMacros will keep steping through commands however it doesn't seem to pass them onto the browser
- IE / Macros will crash
I'd obviously prefer to run this in Chrome / FF but I don't believe I can use the EXTRACT or SAVEAS command without purchasing the full license. Any ideas of work arounds I need to go through over 3000 inputs and it's killing me to have to continiously have to check on it?