feature: crawler wuxian video
bug-fix : video author
This commit is contained in:
@@ -87,9 +87,11 @@ class VideoInfoPage extends BasePage
|
||||
$arrVideo['vod_class'] = trim($arrVideo['vod_class']);
|
||||
|
||||
$arrVideo['vod_play_url'][$this->getsite()->getSiteCode()] = $arrPlayUrl;
|
||||
$arrVideo['vod_actor'] = explode(',', $arrVideo['vod_actor']);
|
||||
$arrVideo['vod_director'] = explode(',', $arrVideo['vod_director']);
|
||||
$arrVideo['vod_class'] = explode(',', $arrVideo['vod_class']);
|
||||
|
||||
$arrVideo['vod_actor'] = $arrVideo['vod_actor'] === '' ? [] : explode(',', $arrVideo['vod_actor']);
|
||||
$arrVideo['vod_director'] = $arrVideo['vod_director'] === '' ? [] : explode(',', $arrVideo['vod_director']);
|
||||
$arrVideo['vod_class'] = $arrVideo['vod_class'] === '' ? [] : explode(',', $arrVideo['vod_class']);
|
||||
|
||||
$arrVideo['vod_content'] = trim($arrVideo['vod_content']);
|
||||
$arrVideo['vod_content'] = mb_rtrim($arrVideo['vod_content'], '\ ');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user