Query Search using URL?

narkeeso says:
Is there a way to query a search using a url instead of using the form? I'd like to use Alfred.app to run custom query search based on the URL. So something like:
rtm.com/profile/narkeeso/search?buy+milk
rtm.com/profile/narkeeso/search?buy+milk