aboutsummaryrefslogtreecommitdiff
path: root/plugins/Mangadex.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-23 07:26:39 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-23 07:26:39 +0200
commit261b0263f34ffcbe439d68b2e901fd3abbfc1eaf (patch)
tree735d49f2050b52a414766675e4226f3fa8ef0d08 /plugins/Mangadex.hpp
parent05ce6bac22d498fb2827df72f4c2b86d02826042 (diff)
Re-add creators page
Diffstat (limited to 'plugins/Mangadex.hpp')
-rw-r--r--plugins/Mangadex.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Mangadex.hpp b/plugins/Mangadex.hpp
index 1b238a2..96bfc50 100644
--- a/plugins/Mangadex.hpp
+++ b/plugins/Mangadex.hpp
@@ -21,6 +21,9 @@ namespace QuickMedia {
public:
MangadexChaptersPage(Program *program, std::string manga_name, std::string manga_url) : MangaChaptersPage(program, std::move(manga_name), std::move(manga_url)) {}
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
+ protected:
+ bool extract_id_from_url(const std::string &url, std::string &manga_id) const override;
+ const char* get_service_name() const override { return "mangadex"; }
};
class MangadexImagesPage : public MangaImagesPage {