[ShanaprojectBridge] Don't throw error if timestamp is missing
This commit is contained in:
parent
fc9084eb17
commit
a9535797e6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue