Ajax – specify what type of URLs to search for? – Google Search

google apigoogle-ajax-api

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.

Best Answer

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

Related Topic