<commit_before>var ddg_spice_sound_cloud = function(api_result) {
    if(api_result.length === 0) {
        return;
    }

    var image_proxy = "/iu/?u=";
    var query = "";

    // Get the original query.
    $("script").each(function() {
        var matched = $(this).attr("src");
        if(matched) {
            var result = matched.match(/\/js\/spice\/sound_cloud\/(.+)/);
            if(result) {
                console.log(result[1]);
                query = result[1];
            }<commit_msg>Cleaned up the getting-the-original-query function.<commit_after>var ddg_spice_sound_cloud = function(api_result) {
    if(api_result.length === 0) {
        return;
    }

    var image_proxy = "/iu/?u=";
    var query = "";

    // Get the original query.
    // We're going to pass this to the More at SoundCloud link.
    var matched, result;
    $("script").each(function() {
        matched = $(this).attr("src");
        if(matched) {
            result = matched.match(/\/js\/spice\/sound_cloud\/(.+)/);
            if(result) {
                query = result[1];
            }
{'fraction_non_alphanumeric': 0.16315307057745188, 'fraction_numerical': 0.00458295142071494, 'mean_word_length': 1.896551724137931, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6424182', 'n_tokens_mistral': 350, 'n_tokens_neox': 332, 'n_words': 69}