mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 02:24:35 +02:00
[bridges] Remove calls to get_cached and remove_from_cache
This commit is contained in:
parent
3a92a1e04b
commit
3a94956915
16 changed files with 0 additions and 36 deletions
|
@ -47,8 +47,6 @@ class DauphineLibereBridge extends FeedExpander {
|
|||
}
|
||||
|
||||
private function ExtractContent($url) {
|
||||
if($this->get_cached_time($url) <= strtotime('-24 hours'))
|
||||
$this->remove_from_cache($url);
|
||||
$html2 = $this->get_cached($url);
|
||||
$text = $html2->find('div.column', 0)->innertext;
|
||||
$text = preg_replace('@<script[^>]*?>.*?</script>@si', '', $text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue