| | |
| | | package com.hxh.spring.test.video; |
| | | |
| | | |
| | | import com.yeshi.buwan.domain.video.InternetSearchVideo; |
| | | import com.yeshi.buwan.job.video.MogoTVVideoUpdate; |
| | | import com.yeshi.buwan.job.video.YouKuVideoUpdate; |
| | | import com.yeshi.buwan.mogotv.entity.MogoTVClipInfo; |
| | | import com.yeshi.buwan.videos.mogotv.entity.MogoTVClipInfo; |
| | | import com.yeshi.buwan.service.inter.juhe.InternetSearchVideoService; |
| | | import com.yeshi.buwan.service.inter.juhe.MogoTVService; |
| | | import com.yeshi.buwan.service.inter.juhe.YouKuService; |
| | | import com.yeshi.buwan.util.factory.InternetSearchVideoFactory; |
| | | import com.yeshi.buwan.youku.YouKuApiUtil; |
| | | import com.yeshi.buwan.youku.entity.YouKuShowDetail; |
| | | import org.junit.Test; |
| | | import org.junit.runner.RunWith; |
| | | import org.springframework.test.context.ContextConfiguration; |
| | |
| | | |
| | | @Test |
| | | public void test2() { |
| | | // try { |
| | | // mogoTVVideoUpdate.updateLatestVideo("电视剧"); |
| | | // } catch (Exception e) { |
| | | // e.printStackTrace(); |
| | | // } |
| | | |
| | | try { |
| | | mogoTVVideoUpdate.updateLatestVideo("综艺"); |
| | | mogoTVVideoUpdate.updateSingleVideo("362723"); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | |
| | | |
| | | } |
| | | @Test |
| | | public void addToSearch() { |