<commit_before>#ifndef HTMLPARSER_H
#define HTMLPARSER_H

#include <QObject>
#include <QUrl>
#include <QString>
#include "download.h"

class htmlParser : public QObject
{
    Q_OBJECT
public:
    explicit htmlParser(QObject *parent = 0);
    QString htmlData;
    download source;

protected:
    void extractContent(QString startTag, QString endTag);
    QString htmlContent;
    QString removeSpeCha();

signals:

public slots:
    void htmldownloaded();
};

#endif // HTMLPARSER_H
<commit_msg>Added signals to the parser<commit_after>#ifndef HTMLPARSER_H
#define HTMLPARSER_H

#include <QObject>
#include <QUrl>
#include <QString>
#include "download.h"
#include "htmlpage.h"

class htmlParser : public QObject
{
    Q_OBJECT
public:
    explicit htmlParser(QObject *parent = 0);
    QString htmlData;
    download source;
    htmlPage Data;

protected:
    void extractContent(QString startTag, QString endTag);
    QString htmlContent;
    QString removeSpeCha();

signals:
    void parsingFinished(htmlPage *);
    void newUrlFound(QUrl newUrl);

public slots:
    void htmldownloaded();
};

#endif // HTMLPARSER_H

{'fraction_non_alphanumeric': 0.09464285714285714, 'fraction_numerical': 0.0017857142857142857, 'mean_word_length': 4.441747572815534, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6469733', 'n_tokens_mistral': 368, 'n_tokens_neox': 375, 'n_words': 99}