<commit_before># TubeSleuth #

Searches Youtube using their public API

## Using TubeSleuth ##

    !yt snoop dogg pump pump
    
### Example output ###

    https://youtu.be/q_6wNxMb6xU :: Snoop Dogg - Pump Pump feat. <NAME> :: Duration: 00:04:41 :: Views: 188,448 :: Rating: 4.0

## Available Options ##

`template` - This is the template used when displaying search output.

Default value: `$link :: $title :: Duration: $duration :: Views: $view_count :: Rating: $rating`

`useBold` - Whether to bold the output

`noResultsMessage` - Reply when there are no results for a search. Default value: `No results for that query`

`safeSearch` - Whether to filter search results. Default value: `medium` Possible values: `none`, `moderate`, `strict`

`respondToPrivateMessages` - Whether to respond to private messages. Default value: `False`<commit_msg>Fixes #19 - Adds template option for TubeSleuth and updates README<commit_after># TubeSleuth #

Searches Youtube using their public v2 API

## Using TubeSleuth ##

    !yt snoop dogg pump pump

### Example output ###

    https://youtu.be/q_6wNxMb6xU :: Snoop Dogg - Pump Pump feat. <NAME> :: Duration: 00:04:41 :: Views: 188,448 :: Rating: 4.0

## Available Options ##

`template` - This is the template used when displaying search output.

Default value: `$link :: $title :: Duration: $duration :: Views: $view_count :: Rating: $rating`

`useBold` - Whether to bold the output. Default value: `False`

`noResultsMessage` - Reply when there are no results for a search. Default value: `No results for that query`

`safeSearch` - Whether to filter search results. Default value: `medium` Possible values: `none`, `moderate`, `strict`

`respondToPrivateMessages` - Whether to respond to private messages. Default value: `False`
{'fraction_non_alphanumeric': 0.11599099099099099, 'fraction_numerical': 0.019707207207207207, 'mean_word_length': 4.3685800604229605, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '6302498', 'n_tokens_mistral': 582, 'n_tokens_neox': 528, 'n_words': 210}