<commit_before># -*- coding: utf-8 -*-
from datetime import datetime
# import json

import re
import sys
import requests
import requests_cache
from requests import ConnectionError

# Try setting the system default encoding as utf-8 at the start of the script,
# so that all strings are encoded using that.
if sys.version_info < (3, 0):
    reload(sys)
    sys.setdefaultencoding('utf-8')


class MovieNotFound(Exception):
    pass

<commit_msg>Undo using setdefaultencoding because using is discouraged<commit_after># -*- coding: utf-8 -*-
from datetime import datetime
# import json

import re
import requests
import requests_cache
from requests import ConnectionError


class MovieNotFound(Exception):
    pass


{'fraction_non_alphanumeric': 0.07142857142857142, 'fraction_numerical': 0.008403361344537815, 'mean_word_length': 4.5, 'pattern_counts': {'":': 0, '<': 4, '<?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': '2525152', 'n_tokens_mistral': 192, 'n_tokens_neox': 185, 'n_words': 80}