<commit_before>"""
Copyright (C) 2014, <NAME>
"""

from apiclient.discovery import build
from apiclient.errors import HttpError
from utils import clean_db_object

""" see https://console.developers.google.com/project/apps~videocategoryarcs/apiui/credential """
YOUTUBE_V3_API_KEY = '<KEY>'
YOUTUBE_API_SERVICE_NAME = "youtube"
YOUTUBE_API_VERSION = "v3"
YOUTUBE_MAX_RESULTS = 25

import operator

def youtube_search(query_string):
    videos = []
    try:
        youtube = build(YOUTUBE_API_SERVICE_NAME, YOUTUBE_API_VERSION,<commit_msg>Obscure YT API key. It was expired anyway.<commit_after>"""
Copyright (C) 2014, <NAME>
"""

from apiclient.discovery import build
from apiclient.errors import HttpError
from utils import clean_db_object

""" see https://console.developers.google.com/project/apps~videocategoryarcs/apiui/credential """
YOUTUBE_V3_API_KEY = 'API_KEY_HERE'
YOUTUBE_API_SERVICE_NAME = "youtube"
YOUTUBE_API_VERSION = "v3"
YOUTUBE_MAX_RESULTS = 25

import operator

def youtube_search(query_string):
    videos = []
    try:
        youtube = build(YOUTUBE_API_SERVICE_NAME, YOUTUBE_API_VERSION,
{'fraction_non_alphanumeric': 0.10071942446043165, 'fraction_numerical': 0.014388489208633094, 'mean_word_length': 5.87037037037037, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 2, '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': '707558', 'n_tokens_mistral': 417, 'n_tokens_neox': 404, 'n_words': 78}