Skip to content

Instantly share code, notes, and snippets.

@binyaminyblatt
binyaminyblatt / index.php
Created May 15, 2022 11:24
Tachidesk-Sorayomi web auto update
<?php
function CallAPI($url) {
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$useragent = 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0';
curl_setopt($curl, CURLOPT_USERAGENT, $useragent);
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($curl);
/* Check for 404 (file not found). */
local source_parser = clink.argmatcher():addarg({
"add",
"list",
"update",
"remove",
"reset"
}):addflags({
"--name",
"--arg",
"--type"
127.0.0.1 0aa89ur58y.top
127.0.0.1 0b9d84d93f1b.com
127.0.0.1 0c8a10b46fc6.com
127.0.0.1 0cf40a2064ce2.com
127.0.0.1 0d20bff8143.com
127.0.0.1 0dbcf515975d.com
127.0.0.1 0dc3c6535c5.com
127.0.0.1 0e6fc55ed3d4c2c2ba0.com
127.0.0.1 0f461325bf56c3e1b9.com
127.0.0.1 0h6djpk8fn.com