<commit_before>package DDG::Spice::Video;

use DDG::Spice;

spice to => 'https://jagtalon.duckduckgo.com/video.js?q=$1&n=20&callback={{callback}}';
triggers startend => "video", "videos";
spice is_cached => 0;

handle remainder => sub {
    return $_ if $_;
    return;
};

1;
<commit_msg>Video: update triggers and endpoint.<commit_after>package DDG::Spice::Video;

use DDG::Spice;

spice to => 'https://duckduckgo.com/v.js?q=$1&n=20&callback={{callback}}';
triggers startend => 'video', 'videos', 'vimeo', 'youtube';
spice is_cached => 0;

handle remainder => sub {
    return $_ if $_;
    return;
};

1;

{'fraction_non_alphanumeric': 0.1924342105263158, 'fraction_numerical': 0.01644736842105263, 'mean_word_length': 5.02970297029703, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '1034976', 'n_tokens_mistral': 244, 'n_tokens_neox': 234, 'n_words': 48}