2015-04-22 19:32:04 +02:00
|
|
|
#ifndef YOUTUBEPLAYLIST_H
|
|
|
|
#define YOUTUBEPLAYLIST_H
|
|
|
|
|
2015-09-08 17:05:59 +02:00
|
|
|
#include "./downloadfinder.h"
|
2015-04-22 19:32:04 +02:00
|
|
|
|
|
|
|
namespace Network {
|
|
|
|
|
2017-05-01 03:22:50 +02:00
|
|
|
class YoutubePlaylist : public DownloadFinder {
|
2015-04-22 19:32:04 +02:00
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit YoutubePlaylist(const QUrl &url, QObject *parent = nullptr);
|
|
|
|
explicit YoutubePlaylist(const QString &id, QObject *parent = nullptr);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
Download *createRequest(QString &reasonForFail);
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
ParsingResult parseResults(const QByteArray &data, QString &reasonForFail);
|
2017-05-01 03:22:50 +02:00
|
|
|
|
2015-04-22 19:32:04 +02:00
|
|
|
private:
|
2017-05-01 03:22:50 +02:00
|
|
|
QString m_playlistId;
|
2015-04-22 19:32:04 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // YOUTUBEPLAYLIST_H
|