new database
All checks were successful
Build and push / Pulling repo on server (push) Successful in 5s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 5s
This commit is contained in:
parent
9b4d159615
commit
ffb8e552d2
@ -36,8 +36,11 @@ echo "[i] Found $last_page pages\n";
|
|||||||
//create an array with all pages
|
//create an array with all pages
|
||||||
$pages = range(1,65);
|
$pages = range(1,65);
|
||||||
|
|
||||||
|
foreach($pages as $page)
|
||||||
scanPage(1,false);
|
{
|
||||||
|
echo "[i] Crawling page $page\n";
|
||||||
|
scanPage($page);
|
||||||
|
}
|
||||||
|
|
||||||
function scanPage($key,$usecache=true)
|
function scanPage($key,$usecache=true)
|
||||||
{
|
{
|
||||||
|
BIN
crawler/data.db
BIN
crawler/data.db
Binary file not shown.
@ -37,7 +37,7 @@
|
|||||||
<?php foreach ($results as $res) :
|
<?php foreach ($results as $res) :
|
||||||
// graph data preparation
|
// graph data preparation
|
||||||
|
|
||||||
//if ($res['bew'] != 'DIS' && $res['punkte'] != 'DIS')
|
if ($res['bew'] != 'DIS' && $res['punkte'] != 'DIS')
|
||||||
{
|
{
|
||||||
$sdata['dates'][] = date("d.m.Y", strtotime($res['date']));
|
$sdata['dates'][] = date("d.m.Y", strtotime($res['date']));
|
||||||
$sdata['speed'][] = $res['msek'] ?: 0;
|
$sdata['speed'][] = $res['msek'] ?: 0;
|
||||||
|
Reference in New Issue
Block a user