Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2012
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    How to use google search results in C# ??

    Hi friends....
    Im doing my final year project, in this i want to search the google and get the result page for my own query.
    I looked over the internet and i dint find anything useful..
    So please help me
    Thanks in advance..

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,023
    Thanks
    75
    Thanked 4,323 Times in 4,289 Posts
    In general, it's not possible.

    Google is very very protective of its content, and (for example) it will *NOT* let you use server-side code to make a search. You can try it, and *maybe* you will succeed for a while, by "spoofing" google into thinking you are a browser, but eventually Google will find a way to shut you down. (I know; I did this 3 times and each time Google changed their browser detection and my code no longer worked.)

    Google doesn't even like to show its results in an <iframe> and will "pop" itself out of the iframe.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Tags for this Thread

    Posting Permissions

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