<commit_before># coding=utf-8
"""Scraper for Colorado Appeals Court
CourtID: coloctapp
Court Short Name: Colo. Ct. App.
History:
 - 2014-07-11, author: <NAME><<EMAIL>>
 - Reviewer: mlr
 - 2015-07-30: Fixed by mlr.
"""

from datetime import date

from juriscraper.opinions.united_states.state import colo


class Site(colo.Site):
    def __init__(self):
        super(Site, self).__init__()
        self.crawl_date = date.today()
        self.url = 'http://www.cobar.org/opinions/opinionlist.cfm?casedate={month}/{day}/{year}&courtid=1'.format(
            month=self.crawl_date.month,
            day=self.crawl_date.day,
            year=self.crawl_date.year,
        )
        # For testing
        #self.url = 'http://www.cobar.org/opinions/opinionlist.cfm?casedate=7/31/2014&courtid=1'
        self.court_id = self.__module__

    def _get_summaries(self):
        return None

    def _get_nature_of_suit(self):
        return None<commit_msg>Fixed the Colorado Court of Appeals crawler<commit_after># coding=utf-8
"""Scraper for Colorado Appeals Court
CourtID: coloctapp
Court Short Name: Colo. Ct. App.
History:
 - 2014-07-11, author: <NAME><<EMAIL>>
 - Reviewer: mlr
 - 2015-07-30: Fixed by mlr.
"""

from datetime import date

from juriscraper.opinions.united_states.state import colo


class Site(colo.Site):
    def __init__(self):
        super(Site, self).__init__()
        self.url = 'http://www.cobar.org/opinions/index.cfm?courtid=1'
        # For testing
        #self.url = 'http://www.cobar.org/opinions/opinionlist.cfm?casedate=7/31/2014&courtid=1'
        self.court_id = self.__module__

    def _get_summaries(self):
        return None

    def _get_nature_of_suit(self):
        return None
{'fraction_non_alphanumeric': 0.1282051282051282, 'fraction_numerical': 0.030303030303030304, 'mean_word_length': 3.0023310023310024, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '4614347', 'n_tokens_mistral': 670, 'n_tokens_neox': 599, 'n_words': 120}