[InstituteForTheStudyOfWarBridge] Increase caching time

This commit is contained in:
SqrtMinusOne 2025-07-22 20:30:29 +03:00
parent 4c0b97d605
commit a5b77810c7

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 = [];