Jump to content

Add Custom Website Search Results


Recommended Posts

It would be great if we could specify a tag / CSS path to display results within Alfred itself.  IE.


"so node open file"




would return (below, similar to spotlight) the results from the stack overflow query... at least the first 5 or 6 or something.


So a search result would be: ".js-search-result h3 a"

And the link would be: ".js-search-result h3 a" (it would take the href)


Clearly that wouldn't work on all sights, but it would be easy enough to return actual results to Alfred and would allow faster access to the exact result the user wants




Link to comment
Share on other sites

Hi, @CodeCowboy, welcome to the forum.


For my part, I don't really understand exactly what you're requesting.


What query are you entering into Alfred? Where does the Stack Overflow URL come from? Where does the CSS selector come from? Where would the results come from?


Are you suggesting Alfred retrieve webpages, parse them using CSS selectors and show the results?


Edited by deanishe
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...