This commit is contained in:
fred 2023-03-14 22:10:36 +01:00
parent 096f77073f
commit f724941cfb
1 changed files with 2 additions and 3 deletions

View File

@ -46,8 +46,7 @@ class Fred {
throw new Exception("J'ai pas pû récupérer la putain de deuxième page.");
}
error_log ()
preg_match("`url='.*\/ipns\/([^']+)'`isU", $page2, $matches);
preg_match("`url='([^']+)'`isU", $page2, $matches);
$ipnsKey = $matches[1];
@ -150,7 +149,7 @@ class Fred {
}
preg_match("`url='.*\/user\/([^']+)/'`isU", $page2, $matches);
preg_match("`url='([^']+)'`isU", $page2, $matches);
$gchangeId = $matches[1];