<commit_before>__author__ = 'Nikhil'
import os
import requests

movie_list = []
yearlisttmp = list(range(1990, 2050))
yearlist = [str(x) for x in yearlisttmp]

print("Greeting From MAVO !!")
input("If you are Online I can get you the ratings of movies in this folder, may I ?")

for root, dirs, files in os.walk("."):
    for names in files:
        if names.find('.mp4') != -1:
            for year in yearlist:
                if names.find(year) != -1:
                    trimmed_title = names[:names.find(year)+4]
                    if trimmed_title.find('.') != -1:
                        trimmed_title = trimmed_title.replace('.', ' ')
                    if trimmed_title.find('(') != -1:
                        trimmed_title = trimmed_title.replace('(', '')
                    if trimmed_title.find(')') != -1:
                        trimmed_title = trimmed_title.replace(')', '')
                    if trimmed_title.find('[') != -1:
                        trimmed_title = trimmed_title.replace('[', '')
                    if trimmed_title.find(']') != -1:
                        trimmed_title = trimmed_title.replace(']', '')
                    # print(trimmed_title)
                    trimmed_title = trimmed_title.strip()

            movie_list.append(trimmed_title)
# print(movie_list)


for movies in movie_list:
    for year in yearlist:
        if movies.find(year) != -1:
            title = movies[:movies.find(year)]
            # title = title.replace(' ', '+')
            payload = {'t': title, 'y': year, 'r': 'jason', 'tomatoes': 'true'}
            response = requests.get('http://www.omdbapi.com/', params=payload).json()
            # print(response.json().)
            print("-----------------------------------------------")
            print("Title:" + title)
            print("IMDB Rating:"+str(response.get("imdbRating")))
            print("IMDB Votes:"+str(response.get("imdbVotes")))
            print("Tomato Meter:"+str(response.get("tomatoMeter")))
            print("Tomato User Meter:"+str(response.get("tomatoUserMeter")))
            #print(response.url)
            print("-----------------------------------------------")

input("Thank you, Happy Watching Movie...")
<commit_msg>Removed Debug prints<commit_after>__author__ = 'Nikhil'
import os
import requests

movie_list = []
yearlisttmp = list(range(1990, 2050))
yearlist = [str(x) for x in yearlisttmp]

input("If you are Online I can get you the ratings of movies in this folder, may I ?")

for root, dirs, files in os.walk("."):
    for names in files:
        if names.find('.mp4') != -1:
            for year in yearlist:
                if names.find(year) != -1:
                    trimmed_title = names[:names.find(year)+4]
                    if trimmed_title.find('.') != -1:
                        trimmed_title = trimmed_title.replace('.', ' ')
                    if trimmed_title.find('(') != -1:
                        trimmed_title = trimmed_title.replace('(', '')
                    if trimmed_title.find(')') != -1:
                        trimmed_title = trimmed_title.replace(')', '')
                    if trimmed_title.find('[') != -1:
                        trimmed_title = trimmed_title.replace('[', '')
                    if trimmed_title.find(']') != -1:
                        trimmed_title = trimmed_title.replace(']', '')
                    # print(trimmed_title)
                    trimmed_title = trimmed_title.strip()

            movie_list.append(trimmed_title)
# print(movie_list)


for movies in movie_list:
    for year in yearlist:
        if movies.find(year) != -1:
            title = movies[:movies.find(year)]
            # title = title.replace(' ', '+')
            payload = {'t': title, 'y': year, 'r': 'jason', 'tomatoes': 'true'}
            response = requests.get('http://www.omdbapi.com/', params=payload).json()
            # print(response.json().)
            print("-----------------------------------------------")
            print("Title:" + title)
            print("IMDB Rating:"+str(response.get("imdbRating")))
            print("IMDB Votes:"+str(response.get("imdbVotes")))
            print("Tomato Meter:"+str(response.get("tomatoMeter")))
            print("Tomato User Meter:"+str(response.get("tomatoUserMeter")))
            #print(response.url)
            print("-----------------------------------------------")

input("Thank you, Happy Watching Movie...")

{'fraction_non_alphanumeric': 0.19002695417789758, 'fraction_numerical': 0.008086253369272238, 'mean_word_length': 1.7069908814589665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '169806', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1230, 'n_words': 269}