猫咪.py 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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. class Spider(Spider): # 元类 默认的元类 type
  8. def getName(self):
  9. return "x小猫咪"
  10. def init(self,extend=""):
  11. print("============{0}============".format(extend))
  12. pass
  13. def isVideoFormat(self,url):
  14. pass
  15. def manualVideoCheck(self):
  16. pass
  17. def homeContent(self,filter):
  18. result = {}
  19. cateManual = {
  20. "电影":"1",
  21. "电视剧":"2",
  22. "综艺":"3",
  23. "动漫":"4",
  24. "纪录":"5"
  25. }
  26. classes = []
  27. for k in cateManual:
  28. classes.append({
  29. 'type_name':k,
  30. 'type_id':cateManual[k]
  31. })
  32. result['class'] = classes
  33. if(filter):
  34. result['filters'] = self.config['filter']
  35. return result
  36. def homeVideoContent(self):
  37. tmpRsp = self.fetch("https://xmaomi.net/")
  38. suffix = self.regStr(tmpRsp.text,"window.location.href =\"(\\S+)\"")
  39. url = "https://xmaomi.net"+suffix
  40. # self.cookie = rsp.cookies
  41. rsp = self.fetch(url,cookies=tmpRsp.cookies)
  42. root = self.html(rsp.text)
  43. print(rsp.text[0])
  44. print(root)
  45. aList = root.xpath("//ul[contains(@class,'hl-vod-list')]/li/a")
  46. videos = []
  47. for a in aList:
  48. name = a.xpath('./@title')[0]
  49. pic = a.xpath('./@data-original')[0]
  50. mark = a.xpath("./div[@class='hl-pic-text']/span/text()")[0]
  51. sid = a.xpath("./@href")[0]
  52. sid = self.regStr(sid,"/(\\S+).html")
  53. videos.append({
  54. "vod_id":sid,
  55. "vod_name":name,
  56. "vod_pic":pic,
  57. "vod_remarks":mark
  58. })
  59. result = {
  60. 'list':videos
  61. }
  62. return result
  63. def categoryContent(self,tid,pg,filter,extend):
  64. result = {}
  65. urlParams = ["", "", "", "", "", "", "", "", "", "", "", ""]
  66. urlParams[0] = tid
  67. urlParams[8] = pg
  68. for key in extend:
  69. urlParams[int(key)] = extend[key]
  70. params = '-'.join(urlParams)
  71. url = 'https://xmaomi.net/vod_____show/{0}.html'.format(params)
  72. tmpRsp = self.fetch(url)
  73. suffix = self.regStr(tmpRsp.text,"window.location.href =\"(\\S+)\"")
  74. url = 'https://xmaomi.net'+suffix
  75. rsp = self.fetch(url,cookies=tmpRsp.cookies)
  76. root = self.html(rsp.text)
  77. print(rsp.text[0])
  78. print(root)
  79. aList = root.xpath("//ul[contains(@class,'hl-vod-list')]/li/a")
  80. videos = []
  81. for a in aList:
  82. name = a.xpath('./@title')[0]
  83. pic = a.xpath('./@data-original')[0]
  84. mark = a.xpath("./div[@class='hl-pic-text']/span/text()")[0]
  85. sid = a.xpath("./@href")[0]
  86. sid = self.regStr(sid,"/(\\S+).html")
  87. videos.append({
  88. "vod_id":sid,
  89. "vod_name":name,
  90. "vod_pic":pic,
  91. "vod_remarks":mark
  92. })
  93. result['list'] = videos
  94. result['page'] = pg
  95. result['pagecount'] = 9999
  96. result['limit'] = 90
  97. result['total'] = 999999
  98. return result
  99. def detailContent(self,array):
  100. tid = array[0]
  101. url = 'https://xmaomi.net/{0}.html'.format(tid)
  102. tmpRsp = self.fetch(url)
  103. suffix = self.regStr(tmpRsp.text,"window.location.href =\"(\\S+)\"")
  104. url = "https://xmaomi.net"+suffix
  105. rsp = self.fetch(url,cookies=tmpRsp.cookies)
  106. root = self.html(rsp.text)
  107. print(rsp.text[0])
  108. print(root)
  109. divContent = root.xpath("//div[contains(@class,'hl-full-box')]")[0]
  110. title = divContent.xpath("./div[@class='hl-item-pic']/span/@title")[0]
  111. pic = divContent.xpath("./div[@class='hl-item-pic']/span/@data-original")[0]
  112. vod = {
  113. "vod_id":tid,
  114. "vod_name":title,
  115. "vod_pic":pic,
  116. "type_name":"",
  117. "vod_year":"",
  118. "vod_area":"",
  119. "vod_remarks":"",
  120. "vod_actor":"",
  121. "vod_director":"",
  122. "vod_content":""
  123. }
  124. liArray = divContent.xpath(".//li")
  125. for li in liArray:
  126. content = li.xpath('string(.)')
  127. if content.startswith('类型'):
  128. vod['type_name'] = content
  129. if content.startswith('年份'):
  130. vod['vod_year'] = content
  131. if content.startswith('地区'):
  132. vod['vod_area'] = content
  133. if content.startswith('状态'):
  134. vod['vod_remarks'] = content
  135. if content.startswith('主演'):
  136. vod['vod_actor'] = content
  137. if content.startswith('导演'):
  138. vod['vod_director'] = content
  139. if content.startswith('简介'):
  140. vod['vod_content'] = content
  141. vod_play_from = '$$$'
  142. playFrom = []
  143. vodHeader = root.xpath("//div[contains(@class,'hl-rb-tips')]//span[@class='hl-text-site']/text()")
  144. for v in vodHeader:
  145. playFrom.append(v)
  146. vod_play_from = vod_play_from.join(playFrom)
  147. vod_play_url = '$$$'
  148. playList = []
  149. vodList = root.xpath(".//div[contains(@class,'hl-play-source')]//ul")
  150. for vl in vodList:
  151. vodItems = []
  152. aList = vl.xpath('./li/a')
  153. for tA in aList:
  154. href = tA.xpath('./@href')[0]
  155. name = tA.xpath('string(.)')
  156. tId = self.regStr(href,'/(\\S+).html')
  157. vodItems.append(name + "$" + tId)
  158. joinStr = '#'
  159. joinStr = joinStr.join(vodItems)
  160. playList.append(joinStr)
  161. vod_play_url = vod_play_url.join(playList)
  162. vod['vod_play_from'] = vod_play_from
  163. vod['vod_play_url'] = vod_play_url
  164. result = {
  165. 'list':[
  166. vod
  167. ]
  168. }
  169. return result
  170. def searchContent(self,key,quick):
  171. url = 'https://xmaomi.net/v_search/{0}-------------.html'.format(key)
  172. tmpRsp = self.fetch(url)
  173. suffix = self.regStr(tmpRsp.text,"window.location.href =\"(\\S+)\"")
  174. url = "https://xmaomi.net"+suffix
  175. rsp = self.fetch(url,cookies=tmpRsp.cookies)
  176. root = self.html(rsp.text)
  177. print(rsp.text[0])
  178. print(root)
  179. aList = root.xpath("//ul[contains(@class,'hl-one-list')]/li//a[contains(@class,'hl-item-thumb')]")
  180. videos = []
  181. for a in aList:
  182. name = a.xpath('./@title')[0]
  183. print(name)
  184. pic = a.xpath('./@data-original')[0]
  185. print(pic)
  186. mark = a.xpath("./div[@class='hl-pic-text']/span/text()")[0]
  187. sid = a.xpath("./@href")[0]
  188. sid = self.regStr(sid,"/(\\S+).html")
  189. videos.append({
  190. "vod_id":sid,
  191. "vod_name":name,
  192. "vod_pic":pic,
  193. "vod_remarks":mark
  194. })
  195. result = {
  196. 'list':videos
  197. }
  198. return result
  199. def playerContent(self,flag,id,vipFlags):
  200. url = 'https://xmaomi.net/{0}.html'.format(id)
  201. tmpRsp = self.fetch(url)
  202. suffix = self.regStr(tmpRsp.text,"window.location.href =\"(\\S+)\"")
  203. url = "https://xmaomi.net"+suffix
  204. rsp = self.fetch(url,cookies=tmpRsp.cookies)
  205. root = self.html(rsp.text)
  206. print(rsp.text[0])
  207. print(root)
  208. scripts = root.xpath("//script/text()")
  209. jo = {}
  210. for script in scripts:
  211. if(script.startswith("var player_")):
  212. target = script[script.index('{'):]
  213. jo = json.loads(target)
  214. break;
  215. parseUrl = ""
  216. print(jo)
  217. htmlUrl = 'https://play.fositv.com/?url={0}&tm={1}&key={2}&next=&title='.format(jo['url'],jo['tm'],jo['key'])
  218. htmlRsp = self.fetch(htmlUrl)
  219. htmlRoot = self.html(htmlRsp.text)
  220. configScripts = htmlRoot.xpath("//script/text()")
  221. configJo = {}
  222. for script in configScripts:
  223. if(script.strip().startswith("var config")):
  224. target = script[script.index('{'):(script.index('}')+1)]
  225. configJo = json.loads(target)
  226. break;
  227. param = {
  228. 'url': configJo['url'],
  229. 'time': configJo['time'],
  230. 'key': configJo['key']
  231. }
  232. postRsp = self.post('https://play.fositv.com/API.php',param)
  233. resultJo = json.loads(postRsp.text)
  234. result = {
  235. 'parse':0,
  236. 'playUrl':'',
  237. 'url':resultJo['url'],
  238. 'header':{
  239. 'User-Agent':resultJo['ua']
  240. }
  241. }
  242. return result
  243. cookie = {}
  244. config = {
  245. "player": {},
  246. "filter": {"1":[{"key":0,"name":"分类","value":[{"n":"全部","v":"1"},{"n":"动作","v":"101"},{"n":"喜剧","v":"102"},{"n":"爱情","v":"103"},{"n":"科幻","v":"104"},{"n":"剧情","v":"105"},{"n":"悬疑","v":"106"},{"n":"惊悚","v":"107"},{"n":"恐怖","v":"108"},{"n":"犯罪","v":"109"},{"n":"谍战","v":"110"},{"n":"冒险","v":"111"},{"n":"奇幻","v":"112"},{"n":"灾难","v":"113"},{"n":"战争","v":"114"},{"n":"动画","v":"115"},{"n":"歌舞","v":"116"},{"n":"历史","v":"117"},{"n":"传记","v":"118"},{"n":"纪录","v":"119"},{"n":"其他","v":"120"}]},{"key":1,"name":"地区","value":[{"n":"全部","v":""},{"n":"中国大陆","v":"中国大陆"},{"n":"中国香港","v":"中国香港"},{"n":"中国台湾","v":"中国台湾"},{"n":"美国","v":"美国"},{"n":"韩国","v":"韩国"},{"n":"日本","v":"日本"},{"n":"法国","v":"法国"},{"n":"英国","v":"英国"},{"n":"德国","v":"德国"},{"n":"泰国","v":"泰国"},{"n":" 印度","v":"印度"},{"n":"其他","v":"其他"}]},{"key":11,"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"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":5,"name":"字母","value":[{"n":"字母","v":""},{"n":"A","v":"A"},{"n":"B","v":"B"},{"n":"C","v":"C"},{"n":"D","v":"D"},{"n":"E","v":"E"},{"n":"F","v":"F"},{"n":"G","v":"G"},{"n":"H","v":"H"},{"n":"I","v":"I"},{"n":"J","v":"J"},{"n":"K","v":"K"},{"n":"L","v":"L"},{"n":"M","v":"M"},{"n":"N","v":"N"},{"n":"O","v":"O"},{"n":"P","v":"P"},{"n":"Q","v":"Q"},{"n":"R","v":"R"},{"n":"S","v":"S"},{"n":"T","v":"T"},{"n":"U","v":"U"},{"n":"V","v":"V"},{"n":"W","v":"W"},{"n":"X","v":"X"},{"n":"Y","v":"Y"},{"n":"Z","v":"Z"},{"n":"0-9","v":"0-9"}]},{"key":2,"name":"排序","value":[{"n":"最新","v":"time"},{"n":"最热","v":"hits"},{"n":"评分","v":"score"}]}],"2":[{"key":0,"name":"分类","value":[{"n":"全部","v":"2"},{"n":"武侠","v":"201"},{"n":"喜剧","v":"202"},{"n":"爱情","v":"203"},{"n":"剧情","v":"204"},{"n":"青春","v":"205"},{"n":"悬疑","v":"206"},{"n":"科幻","v":"207"},{"n":"军事","v":"208"},{"n":"警匪","v":"209"},{"n":"谍战","v":"210"},{"n":"奇幻","v":"211"},{"n":"偶 像","v":"212"},{"n":"年代","v":"213"},{"n":"乡村","v":"214"},{"n":"都市","v":"215"},{"n":"家庭","v":"216"},{"n":"古装","v":"217"},{"n":"历史","v":"218"},{"n":"神话","v":"219"},{"n":"其他","v":"220"}]},{"key":1,"name":"地区","value":[{"n":"全部","v":""},{"n":"中国大陆","v":"中国大陆"},{"n":"中国香港","v":"中国香港"},{"n":"中国台湾","v":"中国台湾"},{"n":"美国","v":"美国"},{"n":"韩国","v":"韩国"},{"n":"日本","v":"日本"},{"n":"法国","v":"法国"},{"n":"英国","v":"英国"},{"n":"德国","v":"德国"},{"n":"泰国","v":"泰国"},{"n":"印度","v":"印 度"},{"n":"其他","v":"其他"}]},{"key":11,"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"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":5,"name":"字母","value":[{"n":"字母","v":""},{"n":"A","v":"A"},{"n":"B","v":"B"},{"n":"C","v":"C"},{"n":"D","v":"D"},{"n":"E","v":"E"},{"n":"F","v":"F"},{"n":"G","v":"G"},{"n":"H","v":"H"},{"n":"I","v":"I"},{"n":"J","v":"J"},{"n":"K","v":"K"},{"n":"L","v":"L"},{"n":"M","v":"M"},{"n":"N","v":"N"},{"n":"O","v":"O"},{"n":"P","v":"P"},{"n":"Q","v":"Q"},{"n":"R","v":"R"},{"n":"S","v":"S"},{"n":"T","v":"T"},{"n":"U","v":"U"},{"n":"V","v":"V"},{"n":"W","v":"W"},{"n":"X","v":"X"},{"n":"Y","v":"Y"},{"n":"Z","v":"Z"},{"n":"0-9","v":"0-9"}]},{"key":2,"name":"排序","value":[{"n":"最新","v":"time"},{"n":"最热","v":"hits"},{"n":"评分","v":"score"}]}],"3":[{"key":0,"name":"分类","value":[{"n":"全部","v":"3"},{"n":"脱口秀","v":"301"},{"n":"真人秀","v":"302"},{"n":"搞笑","v":"303"},{"n":"访谈","v":"304"},{"n":"生活","v":"305"},{"n":"晚会","v":"306"},{"n":"美食","v":"307"},{"n":"游戏","v":"308"},{"n":"亲子","v":"309"},{"n":"旅游","v":"310"},{"n":"文化","v":"311"},{"n":"体育","v":"312"},{"n":"时尚","v":"313"},{"n":"纪实","v":"314"},{"n":"益智","v":"315"},{"n":"演艺","v":"316"},{"n":"歌舞","v":"317"},{"n":"音乐","v":"318"},{"n":"播报","v":"319"},{"n":"其他","v":"320"}]},{"key":1,"name":"地区","value":[{"n":"全部","v":""},{"n":"中国大陆","v":"中国大陆"},{"n":"中国香港","v":"中国香港"},{"n":"中国台湾","v":"中国台湾"},{"n":"美国","v":"美国"},{"n":"韩国","v":"韩国"},{"n":"日本","v":"日本"},{"n":"法国","v":"法国"},{"n":"英国","v":"英国"},{"n":"德国","v":"德国"},{"n":"泰国","v":"泰国"},{"n":"印度","v":"印度"},{"n":"其他","v":"其他"}]},{"key":11,"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"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":5,"name":"字母","value":[{"n":"字母","v":""},{"n":"A","v":"A"},{"n":"B","v":"B"},{"n":"C","v":"C"},{"n":"D","v":"D"},{"n":"E","v":"E"},{"n":"F","v":"F"},{"n":"G","v":"G"},{"n":"H","v":"H"},{"n":"I","v":"I"},{"n":"J","v":"J"},{"n":"K","v":"K"},{"n":"L","v":"L"},{"n":"M","v":"M"},{"n":"N","v":"N"},{"n":"O","v":"O"},{"n":"P","v":"P"},{"n":"Q","v":"Q"},{"n":"R","v":"R"},{"n":"S","v":"S"},{"n":"T","v":"T"},{"n":"U","v":"U"},{"n":"V","v":"V"},{"n":"W","v":"W"},{"n":"X","v":"X"},{"n":"Y","v":"Y"},{"n":"Z","v":"Z"},{"n":"0-9","v":"0-9"}]},{"key":2,"name":"排序","value":[{"n":"最新","v":"time"},{"n":"最热","v":"hits"},{"n":"评分","v":"score"}]}],"4":[{"key":0,"name":"分类","value":[{"n":"全部","v":"4"},{"n":"热血","v":"401"},{"n":"格斗","v":"402"},{"n":"恋爱","v":"403"},{"n":"美少女","v":"404"},{"n":"校园","v":"405"},{"n":"搞笑","v":"406"},{"n":"LOLI","v":"407"},{"n":"神魔","v":"408"},{"n":"机战","v":"409"},{"n":"科幻","v":"410"},{"n":"真人","v":"411"},{"n":"青春","v":"412"},{"n":"魔法","v":"413"},{"n":"神话","v":"414"},{"n":"冒险","v":"415"},{"n":"运动","v":"416"},{"n":"竞技","v":"417"},{"n":"童话","v":"418"},{"n":"亲子","v":"419"},{"n":"教育","v":"420"}]},{"key":1,"name":"地区","value":[{"n":"全部","v":""},{"n":"中国大陆","v":"中国大陆"},{"n":"中国香港","v":"中国香港"},{"n":"中国台湾","v":"中国台湾"},{"n":"美国","v":"美国"},{"n":"韩国","v":"韩国"},{"n":"日本","v":"日本"},{"n":"法国","v":"法国"},{"n":"英国","v":"英国"},{"n":"德国","v":"德国"},{"n":"泰国","v":"泰国"},{"n":"印度","v":"印度"},{"n":"其他","v":"其他"}]},{"key":11,"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"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":5,"name":"字母","value":[{"n":"字母","v":""},{"n":"A","v":"A"},{"n":"B","v":"B"},{"n":"C","v":"C"},{"n":"D","v":"D"},{"n":"E","v":"E"},{"n":"F","v":"F"},{"n":"G","v":"G"},{"n":"H","v":"H"},{"n":"I","v":"I"},{"n":"J","v":"J"},{"n":"K","v":"K"},{"n":"L","v":"L"},{"n":"M","v":"M"},{"n":"N","v":"N"},{"n":"O","v":"O"},{"n":"P","v":"P"},{"n":"Q","v":"Q"},{"n":"R","v":"R"},{"n":"S","v":"S"},{"n":"T","v":"T"},{"n":"U","v":"U"},{"n":"V","v":"V"},{"n":"W","v":"W"},{"n":"X","v":"X"},{"n":"Y","v":"Y"},{"n":"Z","v":"Z"},{"n":"0-9","v":"0-9"}]},{"key":2,"name":"排序","value":[{"n":"最新","v":"time"},{"n":"最热","v":"hits"},{"n":"评分","v":"score"}]}],"5":[{"key":0,"name":"分类","value":[{"n":"全部","v":"5"},{"n":"人物","v":"501"},{"n":"军事","v":"502"},{"n":"历史","v":"503"},{"n":"自然","v":"504"},{"n":"探险","v":"505"},{"n":"科技","v":"506"},{"n":"文化","v":"507"},{"n":"刑侦","v":"508"},{"n":"社会","v":"509"},{"n":"旅游","v":"510"},{"n":"其他","v":"511"}]},{"key":1,"name":"地区","value":[{"n":"全部","v":""},{"n":"中国大陆","v":"中国大陆"},{"n":"中国香港","v":"中国香港"},{"n":"中国台湾","v":"中国台湾"},{"n":"美国","v":"美国"},{"n":"韩国","v":"韩国"},{"n":"日本","v":"日本"},{"n":"法国","v":"法国"},{"n":"英国","v":"英国"},{"n":"德国","v":"德国"},{"n":"泰国","v":"泰国"},{"n":"印度","v":"印度"},{"n":"其他","v":"其他"}]},{"key":11,"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"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":5,"name":"字母","value":[{"n":"字母","v":""},{"n":"A","v":"A"},{"n":"B","v":"B"},{"n":"C","v":"C"},{"n":"D","v":"D"},{"n":"E","v":"E"},{"n":"F","v":"F"},{"n":"G","v":"G"},{"n":"H","v":"H"},{"n":"I","v":"I"},{"n":"J","v":"J"},{"n":"K","v":"K"},{"n":"L","v":"L"},{"n":"M","v":"M"},{"n":"N","v":"N"},{"n":"O","v":"O"},{"n":"P","v":"P"},{"n":"Q","v":"Q"},{"n":"R","v":"R"},{"n":"S","v":"S"},{"n":"T","v":"T"},{"n":"U","v":"U"},{"n":"V","v":"V"},{"n":"W","v":"W"},{"n":"X","v":"X"},{"n":"Y","v":"Y"},{"n":"Z","v":"Z"},{"n":"0-9","v":"0-9"}]},{"key":2,"name":"排序","value":[{"n":"最新","v":"time"},{"n":"最热","v":"hits"},{"n":"评分","v":"score"}]}]}
  247. }
  248. header = {}
  249. def localProxy(self,param):
  250. return [200, "video/MP2T", action, ""]