From 31976fb2d19be13fb87d835ea8578356cafaa7db Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 30 Jul 2021 05:35:33 +0200 Subject: 4chan: longer slider, dont try to post immediately when going back to posting mode --- src/plugins/Fourchan.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/Fourchan.cpp') diff --git a/src/plugins/Fourchan.cpp b/src/plugins/Fourchan.cpp index 24886c6..c1d7d6a 100644 --- a/src/plugins/Fourchan.cpp +++ b/src/plugins/Fourchan.cpp @@ -539,14 +539,14 @@ namespace QuickMedia { return PostResult::OK; if(response.find("banned") != std::string::npos) return PostResult::BANNED; - if(response.find("try again") != std::string::npos) - return PostResult::TRY_AGAIN; - if(response.find("No valid captcha") != std::string::npos) + if(response.find("mistyped the CAPTCHA") != std::string::npos || response.find("No valid captcha") != std::string::npos) return PostResult::INVALID_CAPTCHA; if(response.find("Audio streams are not allowed") != std::string::npos) return PostResult::FILE_TYPE_NOT_ALLOWED; if(response.find("Error: Upload failed") != std::string::npos) return PostResult::UPLOAD_FAILED; + if(response.find("try again") != std::string::npos) + return PostResult::TRY_AGAIN; return PostResult::ERR; } -- cgit v1.2.3