Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Spying on a browser's headers.......

  • 17-02-2003 02:10PM
    #1
    Registered Users, Registered Users 2 Posts: 68,173 ✭✭✭✭


    Right, in my college project, I'm basically generating a query URL for a search engine, given a few search options. For some reason, google won't allow me to access it directly. However, cutting and pasting the URL into a browser, and google will happily give me the page.

    So I'm assuming google is looking at the headers transmitted by the browser to determine if it's a valid query, or if it's me trying to program :)

    Does anyone know of any browser, that will let me look at its headers? Or any prog that will let me do it?

    I'd prefer not to have to write a tiny prog to do it myself (I'm a bit lazy :))

    Or, even better, does anyone know how google prevents you from accessing it directly?

    tks


Comments

  • Registered Users, Registered Users 2 Posts: 68,173 ✭✭✭✭seamus


    Never Mind. I found a little java prog that accepts a browser connection, and bounces the headers back to it. Luvverly

    And I was right. Google examines the headers before allowing you to connect :)


  • Registered Users, Registered Users 2 Posts: 468 ✭✭Practical


    u da man :p


  • Registered Users, Registered Users 2 Posts: 4,660 ✭✭✭Gavin


    Originally posted by seamus
    Right, in my college project, I'm basically generating a query URL for a search engine, given a few search options. For some reason, google won't allow me to access it directly. However, cutting and pasting the URL into a browser, and google will happily give me the page.


    Or, even better, does anyone know how google prevents you from accessing it directly?

    tks

    Have a look at google's web services. Might allow you to do your project a bit quicker/more efficiently.

    Gav


Advertisement