|
@@ -21,7 +21,7 @@ if ($Cache->get_value('doujin_json_'.$gid)) {
|
21
|
21
|
} else {
|
22
|
22
|
|
23
|
23
|
$data = json_encode(["method" => "gdata", "gidlist" => [[$gid, $token]], "namespace" => 1]);
|
24
|
|
- $curl = curl_init('http://g.e-hentai.org/api.php');
|
|
24
|
+ $curl = curl_init('http://e-hentai.org/api.php');
|
25
|
25
|
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST");
|
26
|
26
|
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
|
27
|
27
|
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|