removed debugging leftovers...
This commit is contained in:
parent
f62f43d19d
commit
606aaa1f03
1 changed files with 2 additions and 3 deletions
|
@ -143,8 +143,7 @@ function x() {
|
||||||
|
|
||||||
if (!$urls_only) {
|
if (!$urls_only) {
|
||||||
$response = get_card_data($url);
|
$response = get_card_data($url);
|
||||||
if ($i > 1){
|
if (isset($response["header"]["Ratelimit-Remaining"]) and $response["header"]["Ratelimit-Remaining"] === "0") {
|
||||||
#if (isset($response["header"]["Ratelimit-Remaining"]) and $response["header"]["Ratelimit-Remaining"] === "0") {
|
|
||||||
echo "<br>Rate limit exceeded. Please try again in a few hours or use the raw result URLs.<br><br>";
|
echo "<br>Rate limit exceeded. Please try again in a few hours or use the raw result URLs.<br><br>";
|
||||||
$urls_only = true;
|
$urls_only = true;
|
||||||
}
|
}
|
||||||
|
@ -200,7 +199,7 @@ foreach ([
|
||||||
<label for="query">Cards:</label>
|
<label for="query">Cards:</label>
|
||||||
<textarea id="query" name="query" rows="20" <?= !isset($_REQUEST['query']) ? "autofocus" : "" ?> required placeholder="M12 7
|
<textarea id="query" name="query" rows="20" <?= !isset($_REQUEST['query']) ? "autofocus" : "" ?> required placeholder="M12 7
|
||||||
ORI 25
|
ORI 25
|
||||||
AER 178"><?= !empty($_REQUEST['query']) ? $_REQUEST['query'] : "M12 7\nORI 25\nAER 178" ?></textarea>
|
AER 178"><?= !empty($_REQUEST['query']) ? $_REQUEST['query'] : "" ?></textarea>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div></div>
|
<div></div>
|
||||||
|
|
Loading…
Reference in a new issue