Monday, August 27, 2012

imacro เก็บ Asin สินค้า Amazon 24 ชิ้นต่อหน้า

VERSION BUILD=7401110 RECORDER=FX
TAB T=1
SET !EXTRACT_TEST_POPUP NO
SET !ERRORIGNORE YES
SET !ERRORCONTINUE YES
SET !DATASOURCE_COLUMNS 1
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
SET !VAR1 ชื่อไฟล์ที่จะเก็บ
SET !VAR2 โฟเดอร์เก็บไฟล์
TAG POS=1 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=1 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=2 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=2 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=3 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=3 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=4 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=4 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=5 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=5 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=6 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=6 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=7 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=7 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=8 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=8 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=9 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=9 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=10 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=10 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=11 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=11 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=12 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=12 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=13 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=13 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=14 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=14 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=15 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=15 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=16 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=16 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=17 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=17 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=18 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=18 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=19 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=19 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=20 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=20 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=21 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=21 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=22 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=22 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=23 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=23 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=24 TYPE=A ATTR=CLASS:title EXTRACT=HREF
TAG POS=24 TYPE=A ATTR=CLASS:title EXTRACT=TXT
SAVEAS TYPE=EXTRACT FOLDER={{!VAR2}} FILE={{!VAR1}}.csv
TAG POS=1 TYPE=A ATTR=ID:pagnNextLink
WAIT SECONDS=2

No comments:

Post a Comment