<commit_before>package io.github.kkysen.quicktrip.apis;

import java.io.IOException;

import org.jsoup.nodes.Document;

/**
 * 
 * 
 * @author <NAME>
 */
public abstract class AbstractHtmlRequest<R> extends AbstractJsonRequest<R> {
    
    @Override
    protected final R deserializeFromUrl(final String url) throws IOException {
        return parseHtml(getDocument(url));
    }
    
    protected abstract Document getDocument(String url) throws IOException;
    
    protected abstract R parseHtml(final Document doc);
    
    /**
     * not used
     */
    @Override
    protected final String getApiKey() {
        return "";
    }
    
    /**
     * not used
     */
    @Override
    protected final String getApiKeyQueryName() {
        return super.getApiKeyQueryName();
    }
    
}<commit_msg>switched to getApiKeys()<commit_after>package io.github.kkysen.quicktrip.apis;

import java.io.IOException;

import org.jsoup.nodes.Document;

/**
 * 
 * 
 * @author <NAME>
 */
public abstract class AbstractHtmlRequest<R> extends AbstractJsonRequest<R> {
    
    @Override
    protected final R deserializeFromUrl(final String url) throws IOException {
        return parseHtml(getDocument(url));
    }
    
    protected abstract Document getDocument(String url) throws IOException;
    
    protected abstract R parseHtml(final Document doc);
    
    /**
     * not used
     */
    @Override
    protected final List<String> getApiKeys() {
        return null;
    }
    
    /**
     * not used
     */
    @Override
    protected final String getApiKeyQueryName() {
        return super.getApiKeyQueryName();
    }
    
}
{'fraction_non_alphanumeric': 0.09535452322738386, 'fraction_numerical': 0.0, 'mean_word_length': 2.6136865342163356, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '5218646', 'n_tokens_mistral': 467, 'n_tokens_neox': 459, 'n_words': 113}