diff --git a/lib/tasks/get_video_data.rake b/lib/tasks/get_video_data.rake index c7e09bfa1..02c0f47f4 100644 --- a/lib/tasks/get_video_data.rake +++ b/lib/tasks/get_video_data.rake @@ -48,6 +48,7 @@ namespace :video do result = AliyunVod::Service.get_play_info(video.uuid) puts result play_url = data[:PlayInfoList][:PlayInfo][:PlayURL] + puts play_url # play_url = (result.dig('PlayInfoList', 'PlayInfo') || []).first&.[]('PlayURL') video.update!(play_url: play_url) if play_url.present?