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

use DDG::Spice;

attribution twitter => 'crazedpsyc',
            cpan => 'CRZEDPSYC';

spice to => 'http://aur.archlinux.org/rpc.php?type=search&arg=$1&callback={{callback}}';

triggers any => "aur", "archlinux package", "arch package";

handle remainder => sub {
    s/^for //;
    return $_;
};

1;
<commit_msg>the AUR API wants HTTPS, good on them :-)<commit_after>package DDG::Spice::Aur;

use DDG::Spice;

attribution twitter => 'crazedpsyc',
            cpan => 'CRZEDPSYC';

spice to => 'https://aur.archlinux.org/rpc.php?type=search&arg=$1&callback={{callback}}';

triggers any => "aur", "archlinux package", "arch package";

handle remainder => sub {
    s/^for //;
    return $_;
};

1;

{'fraction_non_alphanumeric': 0.18944519621109607, 'fraction_numerical': 0.005412719891745603, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 1, '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': '6233158', 'n_tokens_mistral': 283, 'n_tokens_neox': 273, 'n_words': 58}