<commit_before>package DDG::Spice::Maven;
# ABSTRACT: Search library in Maven Central Repository.

use DDG::Spice;

attribution github  => ['https://github.com/nicoulaj', 'nicoulaj'],
            twitter => ['http://twitter.com/nicoulaj', 'nicoulaj'];

triggers startend => "maven", "mvn";

spice to => 'http://search.maven.org/solrsearch/select?q=$1&rows=5&wt=json&callback={{callback}}';
spice wrap_jsonp_callback => 1;
spice proxy_cache_valid   => "418 1d";
spice is_unsafe => 1;

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

1;<commit_msg>Remove unsafe flag from Maven spice<commit_after>package DDG::Spice::Maven;
# ABSTRACT: Search library in Maven Central Repository.

use DDG::Spice;

attribution github  => ['https://github.com/nicoulaj', 'nicoulaj'],
            twitter => ['http://twitter.com/nicoulaj', 'nicoulaj'];

triggers startend => "maven", "mvn";

spice to => 'http://search.maven.org/solrsearch/select?q=$1&rows=5&wt=json&callback={{callback}}';
spice wrap_jsonp_callback => 1;
spice proxy_cache_valid   => "418 1d";

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

1;
{'fraction_non_alphanumeric': 0.17403314917127072, 'fraction_numerical': 0.01565377532228361, 'mean_word_length': 4.907608695652174, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 18, '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': '883431', 'n_tokens_mistral': 405, 'n_tokens_neox': 380, 'n_words': 81}