Results 1 to 6 of 6

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

  1. #1
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

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

    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

  2. #2
    Join Date
    Feb 2010
    Location
    England
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

    SCAR 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
    Last edited by void_hatred; 02-15-2010 at 10:49 AM.

  3. #3
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by void_hatred View Post
    i'm new, but I've got some code:

    SCAR 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

  4. #4
    Join Date
    Feb 2010
    Location
    England
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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
    Last edited by void_hatred; 02-15-2010 at 11:00 AM.

  5. #5
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by void_hatred View Post
    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

  6. #6
    Join Date
    Oct 2006
    Posts
    1,071
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Hahaha Home this is for RichSearcher isn't it

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •