py_cctv2.py 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  1. #coding=utf-8
  2. #!/usr/bin/python
  3. import sys
  4. sys.path.append('..')
  5. from base.spider import Spider
  6. import json
  7. import time
  8. import base64
  9. class Spider(Spider): # 元类 默认的元类 type
  10. def getName(self):
  11. return "央视2"
  12. def init(self,extend=""):
  13. print("============{0}============".format(extend))
  14. pass
  15. def isVideoFormat(self,url):
  16. pass
  17. def manualVideoCheck(self):
  18. pass
  19. def homeContent(self,filter):
  20. # https://meijuchong.cc/
  21. result = {}
  22. cateManual = {
  23. "新闻1":"TOPC1451539822927345",#华人世界
  24. "新闻2":"TOPC1451558926200436",#环球视线
  25. "法治": "TOPC1451542672944335", #忏悔录
  26. "经济": "TOPC1451531385787654", #天下财经
  27. "科教1":"TOPC1451540268188575", #国宝档案
  28. "科教2":"TOPC1451543426689237", #夜线
  29. "农业1": "TOPC1568949310515140", #致富经
  30. "农业2": "TOPC1563178829094125", #乡间纪事
  31. "健康乡村纪实": "TOPC1451542933238628", #见证
  32. "音乐1": "TOPC1451541994820527", #民歌·中国
  33. "音乐2": "TOPC1451542222069826", #音乐传奇
  34. "电影电视剧": "TOPC1451469943519994", #星推荐
  35. "军事1": "TOPC1451527941788652", #军事报道
  36. "军事2": "TOPC1575602995944674", #军事纪录
  37. "动画":"TOPC1451542209144770", #动画城
  38. "少儿": "TOPC1451559344361150", #大仓库
  39. "生活": "TOPC1451541349400938", #远方的家
  40. "综艺1": "TOPC1451541564922207", #中华情
  41. "综艺2": "TOPC1451984301286720", #欢乐中国行
  42. "体育1": "TOPC1451550970356385", #体坛快讯
  43. "体育2": "TOPC1551324792732798", #ATP周刊
  44. "戏曲": "TOPC1451558728003217" #影视剧场
  45. }
  46. classes = []
  47. for k in cateManual:
  48. classes.append({
  49. 'type_name':k,
  50. 'type_id':cateManual[k]
  51. })
  52. result['class'] = classes
  53. if(filter):
  54. result['filters'] = self.config['filter']
  55. return result
  56. def homeVideoContent(self):
  57. result = {
  58. 'list':[]
  59. }
  60. return result
  61. def categoryContent(self,tid,pg,filter,extend):
  62. result = {}
  63. # extend['id'] = tid
  64. extend['p'] = pg
  65. extend['sort']="desc"
  66. extend['mode']=0
  67. filterParams = ["id", "p", "d", "sort","mode"]
  68. params = ["", "", "", "",""]
  69. for idx in range(len(filterParams)):
  70. fp = filterParams[idx]
  71. if fp in extend.keys():
  72. params[idx] = '{0}={1}'.format(filterParams[idx],extend[fp])
  73. suffix = '&'.join(params)
  74. url = 'https://api.cntv.cn/NewVideo/getVideoListByColumn?{0}&n=20&sort=desc&mode=0&serviceId=tvcctv&t=json'.format(suffix)
  75. if not tid.startswith('TOPC'):
  76. url = 'https://api.cntv.cn/NewVideo/getVideoListByAlbumIdNew?{0}&n=20&sort=desc&mode=0&serviceId=tvcctv&t=json'.format(suffix)
  77. rsp = self.fetch(url,headers=self.header)
  78. jo = json.loads(rsp.text)
  79. vodList = jo['data']['list']
  80. videos = []
  81. for vod in vodList:
  82. guid = vod['guid']
  83. title = vod['title']
  84. img = vod['image']
  85. brief = vod['brief']
  86. videos.append({
  87. "vod_id":guid+"###"+img,
  88. "vod_name":title,
  89. "vod_pic":img,
  90. "vod_remarks":''
  91. })
  92. result['list'] = videos
  93. result['page'] = pg
  94. result['pagecount'] = 9999
  95. result['limit'] = 90
  96. result['total'] = 999999
  97. return result
  98. def detailContent(self,array):
  99. aid = array[0].split('###')
  100. tid = aid[0]
  101. url = "https://vdn.apps.cntv.cn/api/getHttpVideoInfo.do?pid={0}".format(tid)
  102. rsp = self.fetch(url,headers=self.header)
  103. jo = json.loads(rsp.text)
  104. title = jo['title'].strip()
  105. link = jo['hls_url'].strip()
  106. vod = {
  107. "vod_id":tid,
  108. "vod_name":title,
  109. "vod_pic":aid[1],
  110. "type_name":'',
  111. "vod_year":"",
  112. "vod_area":"",
  113. "vod_remarks":"",
  114. "vod_actor":"",
  115. "vod_director":"",
  116. "vod_content":""
  117. }
  118. vod['vod_play_from'] = 'CCTV'
  119. vod['vod_play_url'] = title+"$"+link
  120. result = {
  121. 'list':[
  122. vod
  123. ]
  124. }
  125. return result
  126. def searchContent(self,key,quick):
  127. result = {
  128. 'list':[]
  129. }
  130. return result
  131. def playerContent(self,flag,id,vipFlags):
  132. result = {}
  133. rsp = self.fetch(id,headers=self.header)
  134. content = rsp.text.strip()
  135. arr = content.split('\n')
  136. urlPrefix = self.regStr(id,'(http[s]?://[a-zA-z0-9.]+)/')
  137. url = urlPrefix + arr[-1]
  138. result["parse"] = 0
  139. result["playUrl"] = ''
  140. result["url"] = url
  141. result["header"] = ''
  142. return result
  143. config = {
  144. "player": {},
  145. # "filter": {"1": [{"key":"sub","name":"类别","value":[{"n":"海峡两岸","v":"TOPC1451540328102649"},{"n":"今日关注","v":"TOPC1451540389082713"}],{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],"2": [{"key":"sub","name":"类别","value":[{"n":"天网","v":"TOPC1451543228296920"},{"n":"一线","v":"TOPC1451543462858283"}],{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}]}
  146. "filter": {"TOPC1451539822927345": [{"key":"id","name":"类别","value":[
  147. {"n":"华人世界","v":"TOPC1451539822927345"},
  148. {"n":"海峡两岸","v":"TOPC1451540328102649"},
  149. {"n":"今日关注","v":"TOPC1451540389082713"},
  150. {"n":"中国新闻","v":"TOPC1451539894330405"},
  151. {"n":"今日亚洲","v":"TOPC1451540448405749"},
  152. {"n":"朝闻天下","v":"TOPC1451558496100826"},
  153. {"n":"新闻直播间","v":"TOPC1451559129520755"},
  154. {"n":"新闻30分","v":"TOPC1451559097947700"},
  155. {"n":"共同关注","v":"TOPC1451558858788377"},
  156. {"n":"东方时空","v":"TOPC1451558532019883"},
  157. {"n":"新闻1+1","v":"TOPC1451559066181661"},
  158. {"n":"今日环球","v":"TOPC1571034705435323"},
  159. {"n":"华人故事","v":"TOPC1571646754621556"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  160. "TOPC1451558926200436": [{"key":"id","name":"类别","value":[{"n":"环球视线","v":"TOPC1451558926200436"},
  161. {"n":"鲁健访谈","v":"TOPC1609904361007481"},
  162. {"n":"深度国际","v":"TOPC1451540709098112"},
  163. {"n":"国际时讯","v":"TOPC1451558887804404"},
  164. {"n":"24小时","v":"TOPC1451558428005729"},
  165. {"n":"午夜新闻","v":"TOPC1451558779639282"},
  166. {"n":"新闻调查","v":"TOPC1451558819463311"},
  167. {"n":"新闻周刊","v":"TOPC1451559180488841"},
  168. {"n":"世界周刊","v":"TOPC1451558687534149"},
  169. {"n":"面对面","v":"TOPC1451559038345600"},
  170. {"n":"每周质量报告","v":"TOPC1451558650605123"},
  171. {"n":"华人世界","v":"TOPC1451539822927345"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  172. "TOPC1451542672944335": [{"key":"id","name":"类别","value":[{"n":"方圆剧阵","v":"TOPC1571217727564820"},
  173. {"n":"天网","v":"TOPC1451543228296920"},
  174. {"n":"生命线","v":"TOPC1571040589483598"},
  175. {"n":"道德观察","v":"TOPC1451542784285432"},
  176. {"n":"一线","v":"TOPC1451543462858283"},
  177. {"n":"法治在线","v":"TOPC1451558590627940"},
  178. {"n":"热线12","v":"TOPC1451543168050863"},
  179. {"n":"从心开始","v":"TOPC1571217374070848"},
  180. {"n":"现场","v":"TOPC1571301089686775"},
  181. {"n":"小区大事","v":"TOPC1451543346581129"},
  182. {"n":"法治深壹度","v":"TOPC1571535828826169"},
  183. {"n":"忏悔录","v":"TOPC1451542672944335"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  184. "TOPC1451531385787654": [{"key":"id","name":"类别","value":[{"n":"我有传家宝","v":"TOPC1451525396109388"},
  185. {"n":"天下财经","v":"TOPC1451531385787654"},
  186. {"n":"正点财经","v":"TOPC1453100395512779"},
  187. {"n":"收藏传奇","v":"TOPC1451526640730841"},
  188. {"n":"分秒必争","v":"TOPC1451379074008632"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  189. "TOPC1451540268188575": [{"key":"id","name":"类别","value":[{"n":"天涯共此时","v":"TOPC1451540858793305"},
  190. {"n":"国宝档案","v":"TOPC1451540268188575"},
  191. {"n":"真相","v":"TOPC1503545711557359"},
  192. {"n":"大家","v":"TOPC1451557371520714"},
  193. {"n":"讲述","v":"TOPC1451557691081955"},
  194. {"n":"人物","v":"TOPC1451557861628208"},
  195. {"n":"动物世界","v":"TOPC1451378967257534"},
  196. {"n":"人与自然","v":"TOPC1451525103989666"},
  197. {"n":"中华民族","v":"TOPC1451525460925648"},
  198. {"n":"国家记忆","v":"TOPC1473235107169415"},
  199. {"n":"国宝·发现","v":"TOPC1571034869935436"},
  200. {"n":"百家讲坛","v":"TOPC1451557052519584"},
  201. {"n":"自然传奇","v":"TOPC1451558150787467"},
  202. {"n":"探索·发现","v":"TOPC1451557893544236"},
  203. {"n":"地理·中国","v":"TOPC1451557421544786"},
  204. {"n":"外国人在中国","v":"TOPC1451541113743615"},
  205. {"n":"文明之旅","v":"TOPC1451541205513705"},
  206. {"n":"记住乡愁第六季","v":"TOPC1577672009520911"},
  207. {"n":"跟着书本去旅行","v":"TOPC1575253587571324"},
  208. {"n":"记住乡愁第七季","v":"TOPC1608533695279753"},
  209. {"n":"时尚科技秀","v":"TOPC1570874587435537"},
  210. {"n":"创新进行时","v":"TOPC1570875218228998"},
  211. {"n":"解码科技史","v":"TOPC1570876640457386"},
  212. {"n":"科学动物园","v":"TOPC1571021385508957"},
  213. {"n":"考古公开课","v":"TOPC1571021251454875"},
  214. {"n":"科幻地带","v":"TOPC1571021323137369"},
  215. {"n":"实验现场","v":"TOPC1571021159595290"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  216. "TOPC1451543426689237": [{"key":"id","name":"类别","value":[{"n":"人物·故事","v":"TOPC1570780618796536"},
  217. {"n":"百家说故事","v":"TOPC1574995326079121"},
  218. {"n":"透视新科技","v":"TOPC1576631973420833"},
  219. {"n":"夕阳红","v":"TOPC1451543312252987"},
  220. {"n":"心理访谈","v":"TOPC1451543382680164"},
  221. {"n":"读书","v":"TOPC1451557523542854"},
  222. {"n":"夜线","v":"TOPC1451543426689237"},
  223. {"n":"我爱发明","v":"TOPC1569314345479107"},
  224. {"n":"环球科技视野","v":"TOPC1451463780801881"},
  225. {"n":"状元360","v":"TOPC1451528493821255"},
  226. {"n":"1起聊聊","v":"TOPC1451374975347585"},
  227. {"n":"秘境之眼","v":"TOPC1554187056533820"},
  228. {"n":"文化视点","v":"TOPC1451536118642783"},
  229. {"n":"文化正午","v":"TOPC1451538455169283"},
  230. {"n":"文化大百科","v":"TOPC1451536035602751"},
  231. {"n":"动物传奇","v":"TOPC1451984181884527"},
  232. {"n":"文化讲坛","v":"TOPC1451984533334125"},
  233. {"n":"流行无限","v":"TOPC1451540644606949"},
  234. {"n":"天涯共此时","v":"TOPC1451540858793305"},
  235. {"n":"中国影像方志","v":"TOPC1592552941644815"},
  236. {"n":"创新无限","v":"TOPC1451557109280614"},
  237. {"n":"科技人生","v":"TOPC1451557739596986"},
  238. {"n":"绿色空间","v":"TOPC1451557825546179"},
  239. {"n":"重访","v":"TOPC1451558118808439"},
  240. {"n":"走近科学","v":"TOPC1451558190239536"},
  241. {"n":"原来如此","v":"TOPC1451558088858410"},
  242. {"n":"科技之光","v":"TOPC1451557776198149"},
  243. {"n":"文明密码","v":"TOPC1451557930785264"},
  244. {"n":"我爱发明(科普)","v":"TOPC1451557970755294"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  245. "TOPC1568949310515140": [{"key":"id","name":"类别","value":[{"n":"致富经","v":"TOPC1568949310515140"},
  246. {"n":"三农群英汇","v":"TOPC1600745974233265"},
  247. {"n":"田间示范秀","v":"TOPC1563178908227191"},
  248. {"n":"农业气象","v":"TOPC1568949200635957"},
  249. {"n":"中国三农报道","v":"TOPC1600746045741952"},
  250. {"n":"大地讲堂","v":"TOPC1568966472372643"},
  251. {"n":"乡土中国","v":"TOPC1563178586782832"},
  252. {"n":"振兴路上","v":"TOPC1632709936747979"},
  253. {"n":"谁知盘中餐","v":"TOPC1568966325430648"},
  254. {"n":"田野里的歌声","v":"TOPC1632628323813790"},
  255. {"n":"乡理乡亲","v":"TOPC1568966155566515"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  256. "TOPC1563178829094125": [{"key":"id","name":"类别","value":[{"n":"我的美丽乡村","v":"TOPC1570787364956444"},
  257. {"n":"攻坚日记","v":"TOPC1568966013656550"},
  258. {"n":"地球村日记","v":"TOPC1568966232265609"},
  259. {"n":"乡约","v":"TOPC1568949394517190"},
  260. {"n":"乡村剧场","v":"TOPC1563179005948252"},
  261. {"n":"乡村振兴面对面","v":"TOPC1568966531726705"},
  262. {"n":"乡间纪事","v":"TOPC1563178829094125"},
  263. {"n":"超级新农人","v":"TOPC1597627647957699"},
  264. {"n":"科技链","v":"TOPC1563178120425659"},
  265. {"n":"乡村振兴资讯","v":"TOPC1568965444563295"},
  266. {"n":"遍地英雄","v":"TOPC1568966086614400"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  267. "TOPC1451542933238628": [{"key":"id","name":"类别","value":[{"n":"健康之路","v":"TOPC1451557646802924"},
  268. {"n":"中华医药","v":"TOPC1451541666791291"},
  269. {"n":"乡村大舞台","v":"TOPC1563179546003162"},
  270. {"n":"记住乡愁第八季","v":"TOPC1640330887412898"},
  271. {"n":"印象·乡村","v":"TOPC1563178734372977"},
  272. {"n":"中国缘","v":"TOPC1571646819318596"},
  273. {"n":"见证","v":"TOPC1451542933238628"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  274. "TOPC1451541994820527": [{"key":"id","name":"类别","value":[{"n":"乐享汇","v":"TOPC1528430065133683"},
  275. {"n":"国际艺苑","v":"TOPC1451379250581117"},
  276. {"n":"中国音乐电视","v":"TOPC1451542397206110"},
  277. {"n":"精彩音乐汇","v":"TOPC1451541414450906"},
  278. {"n":"童声唱","v":"TOPC1570593464032566"},
  279. {"n":"民歌·中国","v":"TOPC1451541994820527"},
  280. {"n":"CCTV音乐厅","v":"TOPC1451534421925242"},
  281. {"n":"影视留声机","v":"TOPC1451542346007956"},
  282. {"n":"音乐人生","v":"TOPC1451542308412911"},
  283. {"n":"一起音乐吧","v":"TOPC1451542132455743"},
  284. {"n":"音乐公开课","v":"TOPC1462849800640766"},
  285. {"n":"乐游天下","v":"TOPC1451541538046196"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  286. "TOPC1451542222069826": [{"key":"id","name":"类别","value":[{"n":"中国节拍","v":"TOPC1570025984977611"},
  287. {"n":"聆听时刻","v":"TOPC1570026397101703"},
  288. {"n":"音乐周刊","v":"TOPC1570593186033488"},
  289. {"n":"合唱先锋","v":"TOPC1570026172793162"},
  290. {"n":"巅峰音乐汇","v":"TOPC1451984095463376"},
  291. {"n":"曲苑杂坛","v":"TOPC1451984417763860"},
  292. {"n":"星光舞台","v":"TOPC1451542099519708"},
  293. {"n":"百年歌声","v":"TOPC1451534465694290"},
  294. {"n":"音乐传奇","v":"TOPC1451542222069826"},
  295. {"n":"音乐告诉你","v":"TOPC1451542273313866"},
  296. {"n":"广场舞金曲","v":"TOPC1528685010104859"},
  297. {"n":"快乐琴童","v":"TOPC1451541450128978"},
  298. {"n":"歌声与微笑","v":"TOPC1451541189657627"},
  299. {"n":"今乐坛","v":"TOPC1451541229451689"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  300. "TOPC1451469943519994": [{"key":"id","name":"类别","value":[{"n":"中国电影报道","v":"TOPC1451354597100320"},
  301. {"n":"星推荐","v":"TOPC1451469943519994"},
  302. {"n":"剧说很好看","v":"TOPC1495184612807684"},
  303. {"n":"今日影评","v":"TOPC1470713254980521"},
  304. {"n":"世界电影之旅","v":"TOPC1451560112462173"},
  305. {"n":"影视俱乐部","v":"TOPC1451469901250966"},
  306. {"n":"影视同期声","v":"TOPC1451469804671799"},
  307. {"n":"影视名堂","v":"TOPC1451558049329358"},
  308. {"n":"第10放映室","v":"TOPC1451557487468814"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  309. "TOPC1451527941788652": [{"key":"id","name":"类别","value":[{"n":"国防军事早报","v":"TOPC1564109128610932"},
  310. {"n":"正午国防军事","v":"TOPC1564109254301161"},
  311. {"n":"军事报道","v":"TOPC1451527941788652"},
  312. {"n":"防务新观察","v":"TOPC1451526164984187"},
  313. {"n":"军迷行天下","v":"TOPC1564131644145429"},
  314. {"n":"老兵你好","v":"TOPC1564109722559395"},
  315. {"n":"军武零距离","v":"TOPC1564109434999268"},
  316. {"n":"军事制高点","v":"TOPC1564109356650207"},
  317. {"n":"军事科技","v":"TOPC1451528087494889"},
  318. {"n":"军事纪实","v":"TOPC1451527993718730"},
  319. {"n":"谁是终极英雄","v":"TOPC1451530272783201"},
  320. {"n":"军营的味道","v":"TOPC1564110136027687"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  321. "TOPC1575602995944674": [{"key":"id","name":"类别","value":[{"n":"砺剑","v":"TOPC1649983616689859"},
  322. {"n":"军事纪录","v":"TOPC1575602995944674"},
  323. {"n":"国防故事","v":"TOPC1578551434601482"},
  324. {"n":"兵器面面观","v":"TOPC1564110696628209"},
  325. {"n":"第二战场","v":"TOPC1564110615253124"},
  326. {"n":"世界战史","v":"TOPC1564110396694880"},
  327. {"n":"五星剧场","v":"TOPC1564110834985329"},
  328. {"n":"国防微视频-军歌嘹亮","v":"TOPC1564110222559767"},
  329. {"n":"军情时间到","v":"TOPC1462504102545692"},
  330. {"n":"国防科工","v":"TOPC1564109813378483"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  331. "TOPC1451541349400938": [{"key":"id","name":"类别","value":[{"n":"走遍中国","v":"TOPC1451542134053698"},
  332. {"n":"生活提示","v":"TOPC1451526037568184"},
  333. {"n":"人口","v":"TOPC1451466072378425"},
  334. {"n":"生活圈","v":"TOPC1451546588784893"},
  335. {"n":"是真的吗","v":"TOPC1451534366388377"},
  336. {"n":"生活家","v":"TOPC1593419181674791"},
  337. {"n":"远方的家","v":"TOPC1451541349400938"},
  338. {"n":"美食中国","v":"TOPC1571034804976375"},
  339. {"n":"味道","v":"TOPC1482483166133803"},
  340. {"n":"生活早参考","v":"TOPC1451525302140236"},
  341. {"n":"走遍中国","v":"TOPC1451542134053698"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  342. "TOPC1451542209144770": [{"key":"id","name":"类别","value":[{"n":"动画城","v":"TOPC1451542209144770"},
  343. {"n":"动漫世界","v":"TOPC1451559448233349"},
  344. {"n":"周末动画片","v":"TOPC1451559836238828"},
  345. {"n":"快乐驿站","v":"TOPC1451542273075862"},
  346. {"n":"动画城","v":"TOPC1451542209144770"},
  347. {"n":"动漫星空","v":"TOPC1451559936284927"},
  348. {"n":"动画剧场","v":"TOPC1451559414465320"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  349. "TOPC1451559344361150": [{"key":"id","name":"类别","value":[{"n":"新闻袋袋裤","v":"TOPC1451559603261584"},
  350. {"n":"英雄出少年","v":"TOPC1451559695702690"},
  351. {"n":"七巧板","v":"TOPC1451559569040502"},
  352. {"n":"快乐体验","v":"TOPC1451559479171411"},
  353. {"n":"智力快车","v":"TOPC1451559756374759"},
  354. {"n":"动感特区","v":"TOPC1451559378830189"},
  355. {"n":"音乐快递","v":"TOPC1451559666055645"},
  356. {"n":"SK极智少年强","v":"TOPC1476950587121943"},
  357. {"n":"加油!少年派","v":"TOPC1451464548229761"},
  358. {"n":"风车剧场","v":"TOPC1573528152700717"},
  359. {"n":"希望-英语杂志","v":"TOPC1451558013229330"},
  360. {"n":"成长在线","v":"TOPC1451559901017891"},
  361. {"n":"童心回放","v":"TOPC1451559966897957"},
  362. {"n":"文学宝库","v":"TOPC1451560002205989"},
  363. {"n":"大仓库","v":"TOPC1451559344361150"},
  364. {"n":"宝贝一家亲","v":"TOPC1451559867985861"},
  365. {"n":"绿野寻踪","v":"TOPC1451559534065469"},
  366. {"n":"芝麻开门","v":"TOPC1451559725520729"},
  367. {"n":"异想天开","v":"TOPC1451559633994614"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  368. "TOPC1451541564922207": [{"key":"id","name":"类别","value":[{"n":"中华情","v":"TOPC1451541564922207"},
  369. {"n":"回声嘹亮","v":"TOPC1451535575561597"},
  370. {"n":"你好生活第三季","v":"TOPC1627961377879898"},
  371. {"n":"我的艺术清单","v":"TOPC1582272259917160"},
  372. {"n":"黄金100秒","v":"TOPC1451468496522494"},
  373. {"n":"非常6+1","v":"TOPC1451467940101208"},
  374. {"n":"向幸福出发","v":"TOPC1451984638791216"},
  375. {"n":"幸福账单","v":"TOPC1451984801613379"},
  376. {"n":"中国文艺报道","v":"TOPC1601348042760302"},
  377. {"n":"舞蹈世界","v":"TOPC1451547605511387"},
  378. {"n":"艺览天下","v":"TOPC1451984851125433"},
  379. {"n":"天天把歌唱","v":"TOPC1451535663610626"},
  380. {"n":"金牌喜剧班","v":"TOPC1611826337610628"},
  381. {"n":"环球综艺秀","v":"TOPC1571300682556971"},
  382. {"n":"挑战不可能第五季","v":"TOPC1579169060379297"},
  383. {"n":"我们有一套","v":"TOPC1451527089955940"},
  384. {"n":"为了你","v":"TOPC1451527001597710"},
  385. {"n":"朗读者第一季","v":"TOPC1487120479377477"},
  386. {"n":"挑战不可能第二季","v":"TOPC1474277421637816"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  387. "TOPC1451984301286720": [{"key":"id","name":"类别","value":[{"n":"精彩一刻","v":"TOPC1451464786232149"},
  388. {"n":"挑战不可能之加油中国","v":"TOPC1547519813971570"},
  389. {"n":"挑战不可能第一季","v":"TOPC1452063816677656"},
  390. {"n":"机智过人第三季","v":"TOPC1564019920570762"},
  391. {"n":"经典咏流传第二季","v":"TOPC1547521714115947"},
  392. {"n":"挑战不可能第三季","v":"TOPC1509500865106312"},
  393. {"n":"经典咏流传第一季","v":"TOPC1513676755770201"},
  394. {"n":"欢乐中国人第二季","v":"TOPC1516784350726581"},
  395. {"n":"故事里的中国第一季","v":"TOPC1569729252342702"},
  396. {"n":"你好生活第二季","v":"TOPC1604397385056621"},
  397. {"n":"喜上加喜","v":"TOPC1590026042145705"},
  398. {"n":"走在回家的路上","v":"TOPC1577697653272281"},
  399. {"n":"综艺盛典","v":"TOPC1451985071887935"},
  400. {"n":"艺术人生","v":"TOPC1451984891490556"},
  401. {"n":"全家好拍档","v":"TOPC1474275463547690"},
  402. {"n":"大魔术师","v":"TOPC1451984047073332"},
  403. {"n":"欢乐一家亲","v":"TOPC1451984214170587"},
  404. {"n":"开心辞典","v":"TOPC1451984378754815"},
  405. {"n":"综艺星天地","v":"TOPC1451985188986150"},
  406. {"n":"激情广场","v":"TOPC1451984341218765"},
  407. {"n":"笑星大联盟","v":"TOPC1451984731428297"},
  408. {"n":"天天乐","v":"TOPC1451984447718918"},
  409. {"n":"欢乐英雄","v":"TOPC1451984242834620"},
  410. {"n":"欢乐中国行","v":"TOPC1451984301286720"},
  411. {"n":"我爱满堂彩","v":"TOPC1451538709371329"},
  412. {"n":"综艺头条","v":"TOPC1569226855085860"},
  413. {"n":"魔法奇迹","v":"TOPC1451542029126607"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  414. "TOPC1451550970356385": [{"key":"id","name":"类别","value":[{"n":"运动大不同","v":"TOPC1451552002869953"},
  415. {"n":"天下足球","v":"TOPC1451551777876756"},
  416. {"n":"篮球公园","v":"TOPC1451549958391444"},
  417. {"n":"体育新闻","v":"TOPC1451551426170389"},
  418. {"n":"足球之夜","v":"TOPC1451552481492403"},
  419. {"n":"北京2022","v":"TOPC1462860742367700"},
  420. {"n":"体坛快讯","v":"TOPC1451550970356385"},
  421. {"n":"体育世界","v":"TOPC1451551371554333"},
  422. {"n":"欧冠开场哨","v":"TOPC1451550484638864"},
  423. {"n":"棋牌乐","v":"TOPC1451550531682936"},
  424. {"n":"健身动起来","v":"TOPC1451549599140203"},
  425. {"n":"体育晨报","v":"TOPC1451551258388672"},
  426. {"n":"体谈","v":"TOPC1451551830518827"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  427. "TOPC1551324792732798": [{"key":"id","name":"类别","value":[{"n":"ATP周刊","v":"TOPC1551324792732798"},
  428. {"n":"冰球冰球","v":"TOPC1551323337921620"},
  429. {"n":"冰天雪地","v":"TOPC1551323403033398"},
  430. {"n":"约战果岭","v":"TOPC1551324843068553"},
  431. {"n":"艺术里的奥林匹克","v":"TOPC1634807797280923"},
  432. {"n":"逐冰追雪","v":"TOPC1634807873035403"},
  433. {"n":"五环纪事","v":"TOPC1634807936107991"},
  434. {"n":"奥秘无穷","v":"TOPC1634808174904190"},
  435. {"n":"奥林匹克人","v":"TOPC1634808300961576"},
  436. {"n":"体育在线","v":"TOPC1451540777295250"},
  437. {"n":"运动大不同","v":"TOPC1451552002869953"},
  438. {"n":"NBA最前线","v":"TOPC1451548615930237"},
  439. {"n":"冠军欧洲","v":"TOPC1451549411228903"},
  440. {"n":"巅峰时刻","v":"TOPC1451549547540149"},
  441. {"n":"赛车时代","v":"TOPC1451550589995997"},
  442. {"n":"体育人间","v":"TOPC1451551310742737"},
  443. {"n":"武林大会","v":"TOPC1451551891055866"},
  444. {"n":"谁是球王","v":"TOPC1451550868295303"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}],
  445. "TOPC1451558728003217": [{"key":"id","name":"类别","value":[{"n":"角儿来了","v":"TOPC1508747509633692"},
  446. {"n":"梨园闯关我挂帅","v":"TOPC1451558484007800"},
  447. {"n":"CCTV空中剧院","v":"TOPC1451558856402351"},
  448. {"n":"过把瘾","v":"TOPC1451558291260577"},
  449. {"n":"名段欣赏","v":"TOPC1451558515719854"},
  450. {"n":"名家书场","v":"TOPC1579401761622774"},
  451. {"n":"宝贝亮相吧","v":"TOPC1579401989187953"},
  452. {"n":"中国京剧音配像精粹","v":"TOPC1451558769767256"},
  453. {"n":"九州大戏台","v":"TOPC1451558399948678"},
  454. {"n":"青春戏苑","v":"TOPC1451558552047910"},
  455. {"n":"戏曲青年说","v":"TOPC1626161016006801"},
  456. {"n":"了不起的戏曲","v":"TOPC1657505173323752"},
  457. {"n":"梨园周刊","v":"TOPC1574909786070351"},
  458. {"n":"中国京剧像音像集萃","v":"TOPC1626832834318986"},
  459. {"n":"典藏","v":"TOPC1597825254395109"},
  460. {"n":"快乐戏园","v":"TOPC1451558438767762"},
  461. {"n":"锦绣梨园","v":"TOPC1451558328292617"},
  462. {"n":"影视剧场","v":"TOPC1451558728003217"},
  463. {"n":"戏苑百家","v":"TOPC1451558644535996"},
  464. {"n":"跟我学","v":"TOPC1451558178940505"},
  465. {"n":"戏曲采风","v":"TOPC1451558610462968"}]},{"key": "d", "name": "年份", "value": [{"n": "全部", "v": ""}, {"n": "2022", "v": "2022"}, {"n": "2021", "v": "2021"}, {"n": "2020", "v": "2020"}, {"n": "2019", "v": "2019"}, {"n": "2018", "v": "2018"}, {"n": "2017", "v": "2017"}, {"n": "2016", "v": "2016"}, {"n": "2015", "v": "2015"}, {"n": "2014", "v": "2014"}, {"n": "2013", "v": "2013"}, {"n": "2012", "v": "2012"}, {"n": "2011", "v": "2011"}, {"n": "2010", "v": "2010"}, {"n": "2009", "v": "2009"}]}]
  466. }
  467. }
  468. header = {
  469. "User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.54 Safari/537.36"
  470. }
  471. def localProxy(self,param):
  472. return [200, "video/MP2T", action, ""]