nate-parrott / Flashlight

The missing Spotlight plugin system
http://flashlight.nateparrott.com
Other
5.39k stars 411 forks source link

Minor Changes to the “DuckDuckGo” Plugin #409

Closed sanssecours closed 9 years ago

sanssecours commented 9 years ago

Hi,

the changes in this pull request fix an encoding error in the “DuckDuckGo” bundle. If the search query included any non ASCII characters such as ä, then the plugin would silently crash.

Commit 6c80127 introduces the new search keyword \ for the bundle. I added support for this keyword since I often use the “bang syntax” to search sites, which do not have a Flashlight plugin. For example, to search for “Wenger 16999” on Amazon you can now use the search query \!a Wenger 16999 instead of the much longer ddg !a Wenger 16999.

Kind regards, René

nate-parrott commented 9 years ago

thanks!