mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 14:18:35 +01:00
[ShanaprojectBridge] Don't throw error if timestamp is missing
This commit is contained in:
parent
fc9084eb17
commit
a9535797e6
@ -48,7 +48,7 @@ class ShanaprojectBridge extends BridgeAbstract {
|
||||
private function extractAnimeTimestamp($anime){
|
||||
$timestamp = $anime->find('span.header_info_block', 1);
|
||||
if(!$timestamp)
|
||||
returnServerError('Could not find anime timestamp!');
|
||||
return null;
|
||||
return strtotime($timestamp->innertext);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user