mirror of
https://git.bakhai.co.in/FbIN/4Get.git
synced 2025-11-06 04:31:30 +05:30
Synced
remove that thing (d4aaebcd80) workaround to get bigger wiki images (a2e056b47b) handle captcha on coc coc (8a0a8359a8)
This commit is contained in:
parent
b865518fb6
commit
4458521eb4
3 changed files with 49 additions and 150 deletions
|
|
@ -164,6 +164,13 @@ class coccoc{
|
|||
|
||||
throw new Exception("Failed to decode JSON");
|
||||
}
|
||||
if(
|
||||
isset($html["captcha"]) &&
|
||||
(int)$html["captcha"] === 1
|
||||
){
|
||||
|
||||
throw new Exception("Coc Coc returned a Captcha");
|
||||
}
|
||||
|
||||
if(!isset($html["search"]["search_results"])){
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue