Flying Sheep Posted March 5, 2020 Share Posted March 5, 2020 In the custom search, we can use {query} to specify some string to be replaced in the URL. The problem is that it always URI encodes the query. Let's say, for some site, when I input "fruit/apple", it should go to http://some-site.com/inventory/fruit/apple, but not http://some-site.com/inventory/fruit%2Fapple It would be awesome if someone can show me how to do that. Link to comment
Flying Sheep Posted March 5, 2020 Author Share Posted March 5, 2020 Sorry I guess I left the message in wrong section 😕 please move this thread to suitable places Link to comment
deanishe Posted March 5, 2020 Share Posted March 5, 2020 7 hours ago, Flying Sheep said: It would be awesome if someone can show me how to do that. Assemble the URL yourself without URL escaping and open it with the shell/bash command “open https://my.url.com/here”. I believe Alfred’s native Open URL command doesn’t escape the input if you pass a complete URL rather than inserting {query} into a partial URL. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now