Skip to content

Custom engine that will just visit 2 links.

edited February 2014 in New Engines/Platforms
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 ?
Tagged:

Comments

  • SvenSven www.GSA-Online.de

    [step2]

    set cookie=<cookievar>=<cookievalue>

    ...

    or

    set cookie=%cookie-cookievar;http://domain%

  • I need to define that cookievar variable or it is already set from previous step?
  • SvenSven www.GSA-Online.de
    cookies are handled internally. You just need to do it this way if cookies are set by javascript.
Sign In or Register to comment.