aboutsummaryrefslogtreecommitdiff
path: root/plugins/Fourchan.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-07-27 20:24:36 +0200
committerdec05eba <dec05eba@protonmail.com>2021-07-27 20:24:36 +0200
commite5fc00e506806f06bde32e9334fdec57dd8cb86d (patch)
tree8791be0727f5f7ef38443def9526c25accf51963 /plugins/Fourchan.hpp
parent87b3100773f20ab87198329c2a2284ca76235ca6 (diff)
Implement new 4chan captcha
Diffstat (limited to 'plugins/Fourchan.hpp')
-rw-r--r--plugins/Fourchan.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Fourchan.hpp b/plugins/Fourchan.hpp
index e2b4671..f09c7bb 100644
--- a/plugins/Fourchan.hpp
+++ b/plugins/Fourchan.hpp
@@ -30,8 +30,9 @@ namespace QuickMedia {
FourchanThreadPage(Program *program, std::string board_id, std::string thread_id) : ImageBoardThreadPage(program, std::move(board_id), std::move(thread_id)) {}
PluginResult login(const std::string &token, const std::string &pin, std::string &response_msg) override;
- PostResult post_comment(const std::string &captcha_id, const std::string &comment, const std::string &filepath = "") override;
+ PostResult post_comment(const std::string &captcha_id, const std::string &captcha_solution, const std::string &comment, const std::string &filepath = "") override;
const std::string& get_pass_id() override;
+ PluginResult request_captcha_challenge(ImageBoardCaptchaChallenge &challenge_response) override;
private:
std::string pass_id;
};