1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-30 19:40:00 +02:00

feat: add config option "path" for file cache (#3297)

This commit is contained in:
Dag
2023-03-20 19:10:01 +01:00
committed by GitHub
parent 4e616c7092
commit 9e9a697b8b
7 changed files with 67 additions and 27 deletions

View File

@@ -186,6 +186,9 @@ class PixivBridge extends BridgeAbstract
}
}
/**
* todo: remove manual file cache
*/
private function cacheImage($url, $illustId, $isImage)
{
$illustId = preg_replace('/[^0-9]/', '', $illustId);