SRL Archive - OSR Help

Just Help : P ( I don't know how to explain )


Home

2010-02-15 05:33:53

Hey, am i able to use scar like send a packet to google. Example:

Search from google using a search word: "villavu"

Without scar opening the whole Browser but still making the search :S

Did you guys understand what i meant : /

~Home

void_hatred

2010-02-15 05:45:34

i'm new, but I've got some code:


program Home;

var
base_uri, content, query, uri: String;
begin
base_uri := 'http://www.google.co.uk//search?q=';
query := 'villavu';
uri := base_uri + query + '&btnG=Google+Search';


content := GetPage(uri);

if content = '' then
begin
WriteLn('connection problem of some sort');
end else
begin
WriteLn(content);
end;
end.

that just spits out the HTML at the moment, is there anything particular that you'd like to know how to do?

thanks in advance,
void_hatred

Home

2010-02-15 05:48:19

From: void_hatred
i'm new, but I've got some code:


program Home;

var
base_uri, content, query, uri: String;
begin
base_uri := 'http://www.google.co.uk//search?q=';
query := 'villavu';
uri := base_uri + query + '&btnG=Google+Search';


content := GetPage(uri);

if content = '' then
begin
WriteLn('connection problem of some sort');
end else
begin
WriteLn(content);
end;
end.

that just spits out the HTML at the moment, is there anything particular that you'd like to know how to do?

thanks in advance,
void_hatred


Thanks mate :)

Well what would be great like:

Have a const ( I think it is PostVariable ).

So i could search randomly some words, but so this will search from the google without opening the browser ( tried to run it) and i think it worked :)

~Home

void_hatred

2010-02-15 05:54:26

hey again, well there is a problem

if you look at the source, you will not see any HTML for the search results, but if you inspect them via firebug you can see the HTML for the results (span#search), I'll still look into it though, I'm guessing they're either using dynamic content or an iframe to do so.

hope I can help,
void_hatred

Home

2010-02-15 06:00:52

From: void_hatred
hey again, well there is a problem

if you look at the source, you will not see any HTML for the search results, but if you inspect them via firebug you can see the HTML for the results (span#search), I'll still look into it though, I'm guessing they're either using dynamic content or an iframe to do so.

hope I can help,
void_hatred


Ok :) It's ok if we can't find a good result for this :) this was just an idea is this possible :)

Thanks very much. Rep ++

~Home

Tim0suprem0

2010-02-17 00:59:54

Hahaha Home this is for RichSearcher isn't it