mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-29 22:30:13 +02:00
[InstituteForTheStudyOfWarBridge] Increase caching time
This commit is contained in:
parent
4c0b97d605
commit
a5b77810c7
1 changed files with 1 additions and 1 deletions
|
@ -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 = [];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue