Custom engine that will just visit 2 links.
I'm trying to create a custom engine file that will just visit 2 links (one after another).
The important part is that it needs to keep cookies from first link in order to view the second one.
I have made this but for some reason it doesn't work like it should (views on second link are not counted).
----------------------------------------------------
[setup]
enabled=1
default checked=0
url must have=http://*
engine type=Test
description=Testing
dofollow=1
anchor text=0
creates own page=1
uses pages=0
extract keywords=0
skip ext links on=0
skip content on=0
skip url content on=0
posted domain check=2
[URL]
type=url
[STEP1]
modify url=http://firstlink.com/?s=test
just download=1
[STEP2]
modify url=http://firstlink.com/
just download=1
----------------------------------------------------
Will "modify url" keep cookies in STEP2 from link in STEP1 ?
The important part is that it needs to keep cookies from first link in order to view the second one.
I have made this but for some reason it doesn't work like it should (views on second link are not counted).
----------------------------------------------------
[setup]
enabled=1
default checked=0
url must have=http://*
engine type=Test
description=Testing
dofollow=1
anchor text=0
creates own page=1
uses pages=0
extract keywords=0
skip ext links on=0
skip content on=0
skip url content on=0
posted domain check=2
[URL]
type=url
[STEP1]
modify url=http://firstlink.com/?s=test
just download=1
[STEP2]
modify url=http://firstlink.com/
just download=1
----------------------------------------------------
Will "modify url" keep cookies in STEP2 from link in STEP1 ?
Tagged:
Comments
[step2]
set cookie=<cookievar>=<cookievalue>
...
or
set cookie=%cookie-cookievar;http://domain%