1
0
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:
logmanoriginal 2017-04-10 13:38:02 +02:00
parent fc9084eb17
commit a9535797e6

View File

@ -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);
}