Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
search_engine_ranker:script_manual [2021-05-13 12:12] – [How form fields are filled] sven | search_engine_ranker:script_manual [2021-08-21 08:58] – sven | ||
---|---|---|---|
Line 29: | Line 29: | ||
Everything is not case sensitive so you don't have to care if you write **[SECTION]** or **[Section]**. There are basically two types of engines. | Everything is not case sensitive so you don't have to care if you write **[SECTION]** or **[Section]**. There are basically two types of engines. | ||
- | * The once that require an account and login.\\ You will have to define at least the following sections:\\ **[SETUP]**, | + | * The once that require an account and login.\\ You will have to define at least the following sections:\\ **[SETUP]**, |
* Those who need no account and no login.\\ You just need the following sections:\\ **[SETUP]**, | * Those who need no account and no login.\\ You just need the following sections:\\ **[SETUP]**, | ||
Line 72: | Line 72: | ||
* [REGISTER_STEP*] - used to create an account | * [REGISTER_STEP*] - used to create an account | ||
+ | * [FIRSTLOGIN_STEP*] - used **only ones** to login after account registration is done and first login ever is performes | ||
* [LOGIN_STEP*] - used to log into the site with the created account | * [LOGIN_STEP*] - used to log into the site with the created account | ||
* [STEP*] - he actual submission process | * [STEP*] - he actual submission process | ||
Line 101: | Line 102: | ||
|encode post data|1 = encode the data in a proper way as used in POST protocol\\ 2 = encode it using multipart \\ 0 = take the data as it is without encoding anything\\ 3 = encode it using json syntax| | |encode post data|1 = encode the data in a proper way as used in POST protocol\\ 2 = encode it using multipart \\ 0 = take the data as it is without encoding anything\\ 3 = encode it using json syntax| | ||
|variable must be used|A form is only submitted if certain variables have been used in that form.\\ \\ //Example: variable must be used=url, | |variable must be used|A form is only submitted if certain variables have been used in that form.\\ \\ //Example: variable must be used=url, | ||
- | |add fixed data add fixed data condition\\ \\ \\ \\ //remove fixed data//\\ \\ //remove fixed data condition// | + | |add fixed data\\ add fixed data condition\\ \\ \\ \\ //remove fixed data//\\ \\ //remove fixed data condition// |
|set unknown variable\\ \\ set unknown variable condition|If a form field is unknown as we didn't define how to fill it in our engine, we could still fill it by something you define here. The submission aborts if this is not defined and something is unable to get filled. The "set unknown variable condition" | |set unknown variable\\ \\ set unknown variable condition|If a form field is unknown as we didn't define how to fill it in our engine, we could still fill it by something you define here. The submission aborts if this is not defined and something is unable to get filled. The "set unknown variable condition" | ||
|match by option label|1 = A form with a select or radio field is filled by checking the variable content against the option labels (the one you see on the browser).\\ 0 = We will not check for a matching label\\ \\ //Example: match by option label=1//| | |match by option label|1 = A form with a select or radio field is filled by checking the variable content against the option labels (the one you see on the browser).\\ 0 = We will not check for a matching label\\ \\ //Example: match by option label=1//| | ||
Line 131: | Line 132: | ||
|try to continue without verification|0 = follow exact verification steps (default)\\ 1 = try to skip verification and continue\\ \\ //Example: try to continue without verification=1// | |try to continue without verification|0 = follow exact verification steps (default)\\ 1 = try to skip verification and continue\\ \\ //Example: try to continue without verification=1// | ||
|modify url|This is used to change a found URL to something else.\\ \\ //Example: modify url=%targethost% %targetpath%// | |modify url|This is used to change a found URL to something else.\\ \\ //Example: modify url=%targethost% %targetpath%// | ||
- | |modify url condition|If present it will check if the content is presnet | + | |modify url condition|If present it will check if the content is present |
|modify url remove|The same as " | |modify url remove|The same as " | ||
|modify url replace|The same as " | |modify url replace|The same as " | ||
+ | |modify submit method|Use this to change the form submission method. Valid values are GET and POST.| | ||
|modify step\\ modify step condition|This will go to another submission step if the condition (something in last downloaded page from previous submission step) was found.\\ \\ //Example: modify step=2\\ modify step condition=*No verification required*// | |modify step\\ modify step condition|This will go to another submission step if the condition (something in last downloaded page from previous submission step) was found.\\ \\ //Example: modify step=2\\ modify step condition=*No verification required*// | ||
|Download retries|Number of tries to submit or download something (default is 1).| | |Download retries|Number of tries to submit or download something (default is 1).| |