Closed rpdelaney closed 9 months ago
That actually does seem appropriate. 😃On Nov 26, 2023 5:22 PM, Ryan Delaney @.***> wrote: @rpdelaney commented on this pull request.
In providers/protondb/protondb.go:
+ +func init() {
- providers.AddProvider("protondb", &Provider{}) +}
+// Provider merely implements the Provider interface. +type Provider struct{}
+// BuildURI generates a search URL for ProtonDB. +func (p *Provider) BuildURI(q string) string {
- return fmt.Sprintf("https://www.protondb.com/search?q=%s", url.QueryEscape(q)) +}
+// Tags returns the tags relevant to this provider. +func (p *Provider) Tags() []string {
- return []string{"search"}
How about games?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
Pull Request Template
Description
Add provider for ProtonDB.
Checklist