1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-05 16:17:28 +02:00

[InstituteForTheStudyOfWarBridge] Increase caching time (#4626)

This commit is contained in:
Pavel Korytov
2025-08-04 01:21:57 +03:00
committed by GitHub
parent 5b97899734
commit 9f8dc411a4

View File

@@ -39,7 +39,7 @@ class InstituteForTheStudyOfWarBridge extends BridgeAbstract
list($date_string, $user) = explode('-', $date_span->innertext); list($date_string, $user) = explode('-', $date_span->innertext);
$date = DateTime::createFromFormat('F d, Y', trim($date_string)); $date = DateTime::createFromFormat('F d, Y', trim($date_string));
$html = getSimpleHTMLDOMCached(self::URI . $uri); $html = getSimpleHTMLDOMCached(self::URI . $uri, 60 * 60 * 24 * 7);
$content = $html->find('[property=content:encoded]', 0)->innertext; $content = $html->find('[property=content:encoded]', 0)->innertext;
$enclosures = []; $enclosures = [];