hzlzh / Alfred-Workflows

Make your Alfred more powerful. (include Workflows, Extensions and Themes)
http://AlfredWorkflow.com/
1.04k stars 96 forks source link

shorter doesn't short wikipedia links #16

Open ryanthara opened 8 years ago

ryanthara commented 8 years ago

Hello. First, I want to say thank you for sharing your workflows.

I try to short the following link: https://de.wikipedia.org/wiki/Zurück_in_die_Zukunft#Der_Fluxkompensator

shorturl shows as result the search window with google, amazon and wikipedia.

shorturl

Is there a solution to short this urls?

hzlzh commented 8 years ago

Try to use %23 instead of # like this https://de.wikipedia.org/wiki/Zurück_in_die_Zukunft%23Der_Fluxkompensator

ryanthara commented 8 years ago

Good idea. I tested it and it still works in safari, but the # sign (anchor on a website) comes from the wikipedia website and is in all web browsers the same. My coding experience with python is nearly 0 - so would it be possible to do this with a regex for wikipedia (and maybe other) websites?

hzlzh commented 8 years ago

Yes, I will fix it since Alfred v3 is coming soon.