<commit_before>package twitchtv

import (
	"fmt"
	"net/url"

	"github.com/zquestz/s/providers"
)

func init() {
	providers.AddProvider("twitchtv", &Provider{})
}

// Provider merely implements the Provider interface.
type Provider struct{}

// BuildURI generates a search URL for Twitchtv.
func (p *Provider) BuildURI(q string) string {
	return fmt.Sprintf("https://www.twitch.tv/search?query=%s", url.QueryEscape(q))
}

// Tags returns the tags relevant to this provider.
func (p *Provider) Tags() []string {
	return []string{}
}<commit_msg>TwitchTv: Fix search query parameter (#157)<commit_after>package twitchtv

import (
	"fmt"
	"net/url"

	"github.com/zquestz/s/providers"
)

func init() {
	providers.AddProvider("twitchtv", &Provider{})
}

// Provider merely implements the Provider interface.
type Provider struct{}

// BuildURI generates a search URL for Twitchtv.
func (p *Provider) BuildURI(q string) string {
	return fmt.Sprintf("https://www.twitch.tv/search?term=%s", url.QueryEscape(q))
}

// Tags returns the tags relevant to this provider.
func (p *Provider) Tags() []string {
	return []string{}
}
{'fraction_non_alphanumeric': 0.14375561545372867, 'fraction_numerical': 0.0026954177897574125, 'mean_word_length': 4.742268041237113, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '793344', 'n_tokens_mistral': 381, 'n_tokens_neox': 367, 'n_words': 105}