Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Google URLS  (Read 4447 times)

0 Members and 1 Guest are viewing this topic.

Helpmeh

    Topic Starter


    Guru

  • Roar.
  • Thanked: 123
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Familiar
  • OS: Windows 8
Google URLS
« on: May 26, 2010, 04:15:15 PM »
I'm trying to get a link to an I'm Feeling Lucky result (and hopefully do something with that later). I tried using
http://www.google.com/search?hl=en&q=QUERY&btnI=I%27m+Feeling+Lucky
This DOES do what I'm asking, however, when we change QUERY to QUERY2 it will display a regular search page. Also, I tried
http://www.google.com/search?hl=en&q=QUERY&btnI=745
but the problem persists.
Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Google URLS
« Reply #1 on: May 26, 2010, 04:34:21 PM »
I was trying to dereference Null Pointers before it was cool.

Helpmeh

    Topic Starter


    Guru

  • Roar.
  • Thanked: 123
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Familiar
  • OS: Windows 8
Re: Google URLS
« Reply #2 on: May 26, 2010, 06:04:45 PM »
Try adding a number in there.
Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Google URLS
« Reply #3 on: May 26, 2010, 07:15:10 PM »
still works fine.

I was trying to dereference Null Pointers before it was cool.

kpac

  • Web moderator


  • Hacker

  • kpac®
  • Thanked: 184
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 7
Re: Google URLS
« Reply #4 on: May 28, 2010, 10:06:16 AM »
however, when we change QUERY to QUERY2 it will display a regular search page. Also, I tried
http://www.google.com/search?hl=en&q=QUERY&btnI=745
but the problem persists.
Obviously...the page searches for a certain string in the URL and if found, returns the im_feeling_unlucky() function.

Helpmeh

    Topic Starter


    Guru

  • Roar.
  • Thanked: 123
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Familiar
  • OS: Windows 8
Re: Google URLS
« Reply #5 on: May 28, 2010, 04:32:00 PM »
Obviously...the page searches for a certain string in the URL and if found, returns the im_feeling_unlucky() function.
I know! But this doesn't: http://www.google.com/search?hl=en&q=QUERY2&btnI=745
Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.

kpac

  • Web moderator


  • Hacker

  • kpac®
  • Thanked: 184
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 7
Re: Google URLS
« Reply #6 on: May 28, 2010, 04:43:08 PM »
Oh okay, I see what you mean now.

http://www.google.com/search?hl=en&q=QUERY&btnI=I%27m+Feeling+Lucky - redirects, but
http://www.google.com/search?hl=en&q=QUERY2&btnI=I%27m+Feeling+Lucky - doesn't.

Is that it?

Well then it's simply because there isn't a single best match for "QUERY2" in the listings.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Google URLS
« Reply #7 on: May 28, 2010, 04:55:46 PM »
I was trying to dereference Null Pointers before it was cool.

kpac

  • Web moderator


  • Hacker

  • kpac®
  • Thanked: 184
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 7
Re: Google URLS
« Reply #8 on: May 28, 2010, 05:02:09 PM »
Okay, well the only other thing I can come up with is that it uses the most relevant search result from that country's index.

Helpmeh

    Topic Starter


    Guru

  • Roar.
  • Thanked: 123
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Familiar
  • OS: Windows 8
Re: Google URLS
« Reply #9 on: May 28, 2010, 05:11:59 PM »
Ok...now...how to collect the URL that the link redirects to...
Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.

kpac

  • Web moderator


  • Hacker

  • kpac®
  • Thanked: 184
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 7
Re: Google URLS
« Reply #10 on: May 29, 2010, 03:43:48 AM »
Explain exactly what you're trying to do and how you're trying to do it.

Helpmeh

    Topic Starter


    Guru

  • Roar.
  • Thanked: 123
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Familiar
  • OS: Windows 8
Re: Google URLS
« Reply #11 on: May 29, 2010, 09:56:30 AM »
I'm just thinking...but it doesn't matter anyway...there are already enough bots which do this.
Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.