Skip to content

Conversation

@Fledermaus-20
Copy link

Added Perplexity bang for search with !ppx

@vercel
Copy link

vercel bot commented Apr 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unduck ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 8:52am

src/bang.ts Outdated
s: "Perplexity",
sc: "Perplexity",
t: "ppx",
u: "https://www.perplexity.ai/search/new?focus=internet&q={{s}}}",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a syntax error in the URL template for the Perplexity bang. The current implementation has mismatched curly braces:

"https://www.perplexity.ai/search/new?focus=internet&q={{s}}}"

This has two opening braces but three closing braces, which will cause malformed search queries.

The correct format should be:

"https://www.perplexity.ai/search/new?focus=internet&q={{{s}}}"

With three opening and three closing braces, consistent with other bang definitions in the file.

Suggested change
u: "https://www.perplexity.ai/search/new?focus=internet&q={{s}}}",
u: "https://www.perplexity.ai/search/new?focus=internet&q={{{s}}}",

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant