matthewmcvickar Posted July 16 Share Posted July 16 I have a custom web search for the music website Boomkat, and they recently changed their search so that it generates URLs with the spaces not encoded as spaces. So the URL https://boomkat.com/products?q[keywords]=low motion disco works, but the URL https://boomkat.com/products?q[keywords]=low%20motion%20disco does not work. In my opinion, the website is Doing It Wrong, but is there any way around this if the website won't change how it does things? If I click the 'Encode spaces as' box and just hit spacebar and then 'Save,' it changes the space back to the `%20` default. Details: This is always replicable. Alfred version: 5.5 [2257] macOS version: Sonoma 14.5 Screenshots: Here is the custom web search window in Alfred: And the result of typing in, e.g., `bk low motion disco`: Link to comment Share on other sites More sharing options...
FireFingers21 Posted July 17 Share Posted July 17 @matthewmcvickar It's the way you're encoding the square brackets around "keyword". They should be encoded too, not just the spaces. Leave the encode spaces setting to its default of "%20", and your Search URL should look like this: https://boomkat.com/products?q%5Bkeywords%5D={query} matthewmcvickar 1 Link to comment Share on other sites More sharing options...
matthewmcvickar Posted July 17 Author Share Posted July 17 Aha, that did it!! Thank you so much. Tricky. Link to comment Share on other sites More sharing options...
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