no message
This commit is contained in:
parent
d155f698cd
commit
15caa4faa7
@ -50,7 +50,7 @@ final class FreenodeCrawl
|
||||
$sUrlSend = "http://".$aFrom["url_base"].$aFrom["url_node"].$sFileName;
|
||||
|
||||
$sFileContent = self::curl($sUrlSend) ?? "";
|
||||
|
||||
// tomd($sFileContent, 1);
|
||||
if (!$sFileContent) {
|
||||
return [];
|
||||
}
|
||||
@ -157,9 +157,11 @@ final class FreenodeCrawl
|
||||
$sMethod = "getFile__".$aFrom["group"];
|
||||
$aFileList = self::$sMethod($aFrom); // 没有就返回空数组,所以不用判断,直接foreach
|
||||
|
||||
$sMsg = " - CrawlFreenode爬from返回空 -> ".json_encode($aFrom)." \n";
|
||||
echo $sMsg;
|
||||
TeleSlave::log()->send($sMsg);
|
||||
if (empty($aFileList)) {
|
||||
$sMsg = " - CrawlFreenode爬from返回空 -> ".json_encode($aFrom)." \n";
|
||||
echo $sMsg;
|
||||
TeleSlave::log()->send($sMsg);
|
||||
}
|
||||
|
||||
foreach ($aFileList as $sFileRow) {
|
||||
$sType = $sFileRow["type"];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user