This commit is contained in:
GZod01 2024-07-09 16:53:42 +02:00
parent e35a076f01
commit 75d9658ae4
13 changed files with 3396 additions and 2470 deletions

View file

@ -1,5 +1,5 @@
<?php
$lastdate = 0; //strtotime("2024-05-28 23:00:00");
$lastdate = strtotime("2024-05-28 23:00:00");
$v = json_decode(file_get_contents("https://api.werobot.fr/post"),true);
$nv = array_filter($v["data"]["posts"], function($a){global $lastdate;$res = strtotime($a["created_at"])>$lastdate; return $res;});
foreach($nv as $p){