Jump to content

Problem with Custom Web Search


Recommended Posts

I am trying to create a custom web search that will take an input of "J6/AK5SD" (without the quotes) and produce:

 

https://www.qrz.com/db/j6/ak5sd

 

The following outputs will also work:

 

https://www.qrz.com/db/`j6/ak5sd`

-or-

https://www.qrz.com/db/"j6/ak5sd"

 

I suspect that Safari just reduces these formats to the first format, but I'm not sure.

 

I've tried a few forward quote and backward quote options without luck.

 

Can anyone tell me how to do that?

 

Thanks,

Scott

Link to comment

It's most likely the encoding options in your custom search.

 

Alfred can't know if your input ({query}) is meant to be part of the URL or a parameter. Parameters need to be encoded so that they can't be mistaken for part of the URL. That means that / is replaced with %2F, for example. Alfred assumes by default that {query} is a parameter, so if you don't turn encoding off, when you add j6/ak5sd to https://www.qrz.com/db/, you get https://www.qrz.com/db/j6%2Fak5sd, not https://www.qrz.com/db/j6/ak5sd

Does that make sense?

Link to comment

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...