<commit_before>let ArchiveOrgService = function ($log, $http, $state, ConcertService) {
    "ngInject";

    // this.name = 'archiveOrgService';

    let getConcertById = (concertId) => {
        $log.info('ArchiveOrgService#getConcertById');
        let concertUrl = 'http://archive.org/metadata/' + concertId + '?callback=JSON_CALLBACK';

        return $http.jsonp(concertUrl);
    };

    let getConcertSearchResults = (concertSearchParams) => {
        $log.info('ArchiveOrgService#getConcertSearchResults');

        let {artist, year} = concertSearchParams;
        let artistQueryString = artist.trim().toLowerCase().split(' ').join('+');
        let yearQueryString = parseInt(year.trim());

        return $http.jsonp('https://archive.org/advancedsearch.php?q=creator%3A%28' + artistQueryString + '%29%26title%3A%28' + yearQueryString + '%29&fl%5B%5D=collection&fl%5B%5D=coverage&fl%5B%5D=creator&fl%5B%5D=date&fl%5B%5D=description&fl%5B%5D=downloads&fl%5B%5D=identifier&fl%5B%5D=title&fl%5B%5D=year&sort%5B%5D=date+desc&sort%5B%5D=&sort%5B%5D=&rows=50&page=1&output=json&callback=JSON_CALLBACK');
    };


    let parseArchiveOrgConcert = (concert) => {
        $log.info('ArchiveOrgService#parseArchiveOrgConcert');

        //Construct the "currentConcert" object to be "stored" in `ConcertService.currentConcert`
        //@todo: concertId manipulation. Figure out different way to get unique id for concert. This was done to prevent issue #XXXX.
        let concertId = concert.metadata.identifier.replace(/([^a-z0-9]+)/gi, '');
        let archiveUrl = `http://archive.org/details/${concertId}`;
<commit_msg>The link now has the correct identifier on it, not the one that removed the periods.<commit_after>let ArchiveOrgService = function ($log, $http, $state, ConcertService) {
    "ngInject";

    // this.name = 'archiveOrgService';

    let getConcertById = (concertId) => {
        $log.info('ArchiveOrgService#getConcertById');
        let concertUrl = 'http://archive.org/metadata/' + concertId + '?callback=JSON_CALLBACK';

        return $http.jsonp(concertUrl);
    };

    let getConcertSearchResults = (concertSearchParams) => {
        $log.info('ArchiveOrgService#getConcertSearchResults');

        let {artist, year} = concertSearchParams;
        let artistQueryString = artist.trim().toLowerCase().split(' ').join('+');
        let yearQueryString = parseInt(year.trim());

        return $http.jsonp('https://archive.org/advancedsearch.php?q=creator%3A%28' + artistQueryString + '%29%26title%3A%28' + yearQueryString + '%29&fl%5B%5D=collection&fl%5B%5D=coverage&fl%5B%5D=creator&fl%5B%5D=date&fl%5B%5D=description&fl%5B%5D=downloads&fl%5B%5D=identifier&fl%5B%5D=title&fl%5B%5D=year&sort%5B%5D=date+desc&sort%5B%5D=&sort%5B%5D=&rows=50&page=1&output=json&callback=JSON_CALLBACK');
    };


    let parseArchiveOrgConcert = (concert) => {
        $log.info('ArchiveOrgService#parseArchiveOrgConcert');

        //Construct the "currentConcert" object to be "stored" in `ConcertService.currentConcert`
        //@todo: concertId manipulation. Figure out different way to get unique id for concert. This was done to prevent issue #XXXX.
        let concertId = concert.metadata.identifier.replace(/([^a-z0-9]+)/gi, '');
        let archiveUrl = `http://archive.org/details/${concert.metadata.identifier}`;

{'fraction_non_alphanumeric': 0.15582858855259216, 'fraction_numerical': 0.024572969733293377, 'mean_word_length': 4.517355371900827, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7318721', 'n_tokens_mistral': 1162, 'n_tokens_neox': 1107, 'n_words': 177}