<commit_before>const LyricBase = require('../include/lyric-base');

const keyword = 'utaten';

class Lyric extends LyricBase {
  async find_lyric(url, html) {
    const prefix = '<div class="lyricBody';
    const suffix = '</div>';

    let lyric = this.find_string_by_prefix_suffix(html, prefix, suffix);
    if (!lyric) {
      console.error(`Failed to find lyric block of url: ${url}`);
      return false;
    }<commit_msg>fix: utaten lyric content<commit_after>const LyricBase = require('../include/lyric-base');

const keyword = 'utaten';

class Lyric extends LyricBase {
  async find_lyric(url, html) {
    const prefix = '<div class="hiragana" >';
    const suffix = '</div>';

    let lyric = this.find_string_by_prefix_suffix(html, prefix, suffix);
    if (!lyric) {
      console.error(`Failed to find lyric block of url: ${url}`);
      return false;
    }
{'fraction_non_alphanumeric': 0.14170506912442396, 'fraction_numerical': 0.0, 'mean_word_length': 3.6972972972972973, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 6, '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': '6064847', 'n_tokens_mistral': 283, 'n_tokens_neox': 279, 'n_words': 77}