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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...