File indexing completed on 2025-02-16 04:25:53

0001 #ifndef LYRICWIKIASERVICE_H
0002 #define LYRICWIKIASERVICE_H
0003 #include "../pulpo.h"
0004 #include <QObject>
0005 
0006 class lyricWikia : public Pulpo
0007 {
0008     Q_OBJECT
0009 
0010 private:
0011     const QString API = "https://lyrics.fandom.com/api.php?action=lyrics";
0012 
0013     bool extractLyrics(const QByteArray &array);
0014 
0015 public:
0016     explicit lyricWikia(const FMH::MODEL &song);
0017     ~lyricWikia();
0018     virtual bool setUpService(const ONTOLOGY &ontology, const INFO &info);
0019 
0020 protected:
0021     virtual bool parseTrack();
0022 };
0023 
0024 #endif // LYRICWIKIASERVICE_H