RadiantHex
RadiantHex

Reputation: 25547

Can I specify what type of URLs to search for? - Google Search

Ok I'm searching for twitter profiles with Google Ajax Search

I'm using the following query:

?q=Radiant+Hex+site:twitter.com

I'm looking for urls like these:

twitter.com/radianthex
twitter.com/ignighted
...

But I often stumble in URLs of the form:

twitter.com/lindsaylohan/status/7537167235
twitter.com/calvinharris/status/1905934068

Is there a way of removing these url from my search?

Help would be very much appreciated.

Upvotes: 0

Views: 290

Answers (2)

jspcal
jspcal

Reputation: 51894

yeah if using the negate option in google, you could do that to get rid of some more sub-paths:

site:twitter.com (inurl:radianthex OR inurl:ignighted OR inurl:billgates)
-inurl:status -inurl:statuses -inurl:favorites -inurl:lists

is it possible to use the twitter api directly? they have a nice method to search for users...

the twitter call would look like this:

http://api.twitter.com/1/users/search.xml?q=radianthex

theyll give you a password when you signup for free access...

they have some cool search options to tighten the results to make them more relevant for your app

Upvotes: 1

Joe
Joe

Reputation: 47609

Looks like this works:

http://www.google.com/search?q=horse+site%3Atwitter.com+-inurl%3Astatuses+-inurl%3Astatus

the query being:

horse site:twitter.com -inurl:statuses -inurl:status

specifically it looks like you can use negation on the inurl keyword

Upvotes: 3

Related Questions