<commit_before>import {ANILIST} from '../env'
import chalk from 'chalk'
import pad from 'pad-left'
import Q from 'q'
import axios from 'axios'

const log = console.log

export default function anilist () {
    log(chalk.blue('AniList Library Filler'))
    log(chalk.blue(`client\t${ANILIST.client_id}\n`))

    const client_id = ANILIST.client_id
    const client_secret = ANILIST.client_secret
    const username = ANILIST.username

    let temp = Q.when({})
    const anime = Array.apply(null, {length: 35087}).map(Number.call, Number)

    function auth (client_id, client_secret) {
        return axios({
            method: 'post',
            url: 'auth/access_token',<commit_msg>refactor: use utils log in anilist<commit_after>import {ANILIST} from '../env'
import {log} from '../util'
import chalk from 'chalk'
import pad from 'pad-left'
import Q from 'q'
import axios from 'axios'

export default function anilist () {
    log(chalk.blue('AniList Library Filler'))
    log(chalk.blue(`client\t${ANILIST.client_id}\n`))

    const client_id = ANILIST.client_id
    const client_secret = ANILIST.client_secret
    const username = ANILIST.username

    let temp = Q.when({})
    const anime = Array.apply(null, {length: 35087}).map(Number.call, Number)

    function auth (client_id, client_secret) {
        return axios({
            method: 'post',
            url: 'auth/access_token',
{'fraction_non_alphanumeric': 0.12464183381088825, 'fraction_numerical': 0.0071633237822349575, 'mean_word_length': 3.4349206349206347, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1945801', 'n_tokens_mistral': 467, 'n_tokens_neox': 451, 'n_words': 123}