mirror of
https://git.bakhai.co.in/FbIN/fossq.git
synced 2026-04-17 19:15:51 +05:30
Switched to new domain
FOSS-Q is the new domain for this search.
This commit is contained in:
parent
4413387b38
commit
aaa853f5a0
20 changed files with 135 additions and 135 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
// greppr dev probably monitors 4get code, lol
|
||||
// hello greppr dude, add an API you moron
|
||||
// greppr dev probably monitors fossq code
|
||||
// hello greppr, add an API
|
||||
|
||||
class greppr{
|
||||
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ class imgur{
|
|||
|
||||
if(stripos($json["data"]["error"], "capacity")){
|
||||
|
||||
throw new Exception("Imgur IP blocked this 4get instance or request proxy. Try again");
|
||||
throw new Exception("Imgur IP blocked this FOSS-Q instance or request proxy. Try again");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -390,7 +390,7 @@ class yandex{
|
|||
$title[0]["innerHTML"] == "403"
|
||||
){
|
||||
|
||||
throw new Exception("Yandex blocked this proxy or 4get instance.");
|
||||
throw new Exception("Yandex blocked this proxy or FOSS-Q instance.");
|
||||
}
|
||||
|
||||
// get nextpage
|
||||
|
|
@ -733,7 +733,7 @@ class yandex{
|
|||
$json["type"] == "captcha"
|
||||
){
|
||||
|
||||
throw new Exception("Yandex blocked this 4get instance. Please try again in ~7 minutes.");
|
||||
throw new Exception("Yandex blocked this FOSS-Q instance. Please try again in ~7 minutes.");
|
||||
}
|
||||
|
||||
$out = [
|
||||
|
|
@ -1013,7 +1013,7 @@ class yandex{
|
|||
|
||||
if(!isset($json["blocks"])){
|
||||
|
||||
throw new Exception("Yandex blocked this 4get instance. Please try again in 7~ minutes.");
|
||||
throw new Exception("Yandex blocked this FOSS-Q instance. Please try again in 7~ minutes.");
|
||||
}
|
||||
|
||||
$out = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue