diff options
Diffstat (limited to 'plugins/MangaGeneric.hpp')
-rw-r--r-- | plugins/MangaGeneric.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MangaGeneric.hpp b/plugins/MangaGeneric.hpp index a03756d..2dca919 100644 --- a/plugins/MangaGeneric.hpp +++ b/plugins/MangaGeneric.hpp @@ -113,9 +113,8 @@ namespace QuickMedia { MangaGenericSearchPage& description_handler(std::vector<DescriptionQuery> queries); // This is optional. MangaGenericSearchPage& thumbnail_handler(std::vector<ThumbnailQuery> queries); - // If |url_contains| is null, then any matching query is added. If |title_field| is "text", then the inner text is used. // This is optional. - MangaGenericSearchPage& authors_handler(const char *html_query, const char *title_field, const char *url_field, const char *url_contains); + MangaGenericSearchPage& authors_handler(std::vector<AuthorsQuery> queries); // If |url_contains| is null, then any matching query is added. If |title_field| is "text", then the inner text is used. // This is required. @@ -151,7 +150,7 @@ namespace QuickMedia { std::vector<TextQuery> text_queries; std::vector<DescriptionQuery> description_queries; std::vector<ThumbnailQuery> thumbnail_queries; - AuthorsQuery authors_query; + std::vector<AuthorsQuery> authors_queries; ListChaptersQuery list_chapters_query; ListPageQuery list_page_query; MangaIdExtractor manga_id_extractor; @@ -192,6 +191,7 @@ namespace QuickMedia { ImageResult get_number_of_images(int &num_images) override; ImageResult for_each_page_in_chapter(PageCallback callback) override; const char* get_service_name() const override { return service_name; } + const char* get_website_url() const override { return website_url.c_str(); } private: ImageResult get_page_image_urls(); private: |