找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1932|回复: 5

湖南星沙直播接口及网页JS代理

[复制链接]
发表于 2020-8-6 11:47 | 显示全部楼层 |阅读模式
本帖最后由 guoma 于 2020-8-6 11:54 编辑

接口:
CCTV1 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV2 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV3 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV4 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV5 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV5+ https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV6 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV7 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV8 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV9 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV10 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV11 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV12 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV13 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV14 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV15 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV风云音乐 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV风云足球 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CCTV央视台球 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live

湖南卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
浙江卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
重庆卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
山东卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
江苏卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
贵州卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
东南卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
四川卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
辽宁卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
湖北卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
北京卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
东方卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
海南卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
安徽卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
青海卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
黑龙江卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
广东卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
吉林卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
深圳卫视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live

湖南经视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
湖南娱乐 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
湖南都市 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
湖南公共 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
湖南电视剧 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
金鹰纪实 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
金鹰卡通 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
湖南电影 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
湖南教育 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
快乐垂钓 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live

长沙新闻 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
长沙政法 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
长沙影视 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
长沙女性 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
长沙县新闻综合 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
长沙县都市生活 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live

吉林篮球 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
劲爆体育 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
全纪实 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CBN每日影院 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
CBN幸福剧场 https://xs0.csxxsj.cn/cms/interf ... obile&busiType=live
网页js代理:


  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  4. <title></title>
  5. <script type="text/javascript" src="http://libs.baidu.com/jquery/1.7.2/jquery.min.js"></script>
  6. </head>

  7. <body>
  8. <script>
  9.     $.ajaxPrefilter(function (options) {
  10.         if (options.crossDomain && jQuery.support.cors) {
  11.             var http = (window.location.protocol === 'http:' ? 'http:' : 'https:');
  12.             options.url = http + '//cors-anywhere.herokuapp.com/' + options.url;
  13.             //options.url = "http://cors.corsproxy.io/url=" + options.url;
  14.         }
  15.     });
  16. var vid=location.href.split('html?id=')[1];
  17. if(vid=='cctv1'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=63143&terminalType=mobile&busiType=live'}//CCTV1
  18. if(vid=='cctv2'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=63144&terminalType=mobile&busiType=live'}//CCTV2
  19. if(vid=='cctv3'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70070&terminalType=mobile&busiType=live'}//CCTV3
  20. if(vid=='cctv4'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70071&terminalType=mobile&busiType=live'}//CCTV4
  21. if(vid=='cctv5'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70072&terminalType=mobile&busiType=live'}//CCTV5
  22. if(vid=='cctv5p'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70125&terminalType=mobile&busiType=live'}//CCTV5+
  23. if(vid=='cctv6'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70073&terminalType=mobile&busiType=live'}//CCTV6
  24. if(vid=='cctv7'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70074&terminalType=mobile&busiType=live'}//CCTV7
  25. if(vid=='cctv8'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70075&terminalType=mobile&busiType=live'}//CCTV8
  26. if(vid=='cctv9'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70077&terminalType=mobile&busiType=live'}//CCTV9
  27. if(vid=='cctv10'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70076&terminalType=mobile&busiType=live'}//CCTV10
  28. if(vid=='cctv11'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70078&terminalType=mobile&busiType=live'}//CCTV11
  29. if(vid=='cctv12'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70079&terminalType=mobile&busiType=live'}//CCTV12
  30. if(vid=='cctv13'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70080&terminalType=mobile&busiType=live'}//CCTV13
  31. if(vid=='cctv14'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70081&terminalType=mobile&busiType=live'}//CCTV14
  32. if(vid=='cctv15'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70082&terminalType=mobile&busiType=live'}//CCTV15
  33. if(vid=='fyyy'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70118&terminalType=mobile&busiType=live'}//CCTV风云音乐
  34. if(vid=='fyzq'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70120&terminalType=mobile&busiType=live'}//CCTV风云足球
  35. if(vid=='ystq'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70122&terminalType=mobile&busiType=live'}//CCTV央视台球

  36. if(vid=='hnws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70090&terminalType=mobile&busiType=live'}//湖南卫视
  37. if(vid=='zjws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70100&terminalType=mobile&busiType=live'}//浙江卫视
  38. if(vid=='cqws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70101&terminalType=mobile&busiType=live'}//重庆卫视
  39. if(vid=='sdws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70102&terminalType=mobile&busiType=live'}//山东卫视
  40. if(vid=='jsws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70103&terminalType=mobile&busiType=live'}//江苏卫视
  41. if(vid=='gzws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70104&terminalType=mobile&busiType=live'}//贵州卫视
  42. if(vid=='dnws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70105&terminalType=mobile&busiType=live'}//东南卫视
  43. if(vid=='scws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70106&terminalType=mobile&busiType=live'}//四川卫视
  44. if(vid=='lnws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70107&terminalType=mobile&busiType=live'}//辽宁卫视
  45. if(vid=='hbws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70108&terminalType=mobile&busiType=live'}//湖北卫视
  46. if(vid=='bjws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70109&terminalType=mobile&busiType=live'}//北京卫视
  47. if(vid=='dfws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70110&terminalType=mobile&busiType=live'}//东方卫视
  48. if(vid=='lyws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70111&terminalType=mobile&busiType=live'}//海南卫视
  49. if(vid=='ahws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70112&terminalType=mobile&busiType=live'}//安徽卫视
  50. if(vid=='qhws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70113&terminalType=mobile&busiType=live'}//青海卫视
  51. if(vid=='hljws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70114&terminalType=mobile&busiType=live'}//黑龙江卫视
  52. if(vid=='gdws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70115&terminalType=mobile&busiType=live'}//广东卫视
  53. if(vid=='jlws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70116&terminalType=mobile&busiType=live'}//吉林卫视
  54. if(vid=='szws'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70117&terminalType=mobile&busiType=live'}//深圳卫视

  55. if(vid=='hnjs'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70091&terminalType=mobile&busiType=live'}//湖南经视
  56. if(vid=='hnyl'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70092&terminalType=mobile&busiType=live'}//湖南娱乐
  57. if(vid=='hnds'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70093&terminalType=mobile&busiType=live'}//湖南都市
  58. if(vid=='hngg'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70094&terminalType=mobile&busiType=live'}//湖南公共
  59. if(vid=='hndsj'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70095&terminalType=mobile&busiType=live'}//湖南电视剧
  60. if(vid=='jyjs'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70096&terminalType=mobile&busiType=live'}//金鹰纪实
  61. if(vid=='jykt'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70097&terminalType=mobile&busiType=live'}//金鹰卡通
  62. if(vid=='hndy'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70098&terminalType=mobile&busiType=live'}//湖南电影
  63. if(vid=='hnjy'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70099&terminalType=mobile&busiType=live'}//湖南教育
  64. if(vid=='klcd'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70121&terminalType=mobile&busiType=live'}//快乐垂钓

  65. if(vid=='csxw'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70086&terminalType=mobile&busiType=live'}//长沙新闻
  66. if(vid=='cszf'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70087&terminalType=mobile&busiType=live'}//长沙政法
  67. if(vid=='csys'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70088&terminalType=mobile&busiType=live'}//长沙影视
  68. if(vid=='csnx'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70089&terminalType=mobile&busiType=live'}//长沙女性
  69. if(vid=='csxxwzh'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70129&terminalType=mobile&busiType=live'}//长沙县新闻综合
  70. if(vid=='csxdssh'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70130&terminalType=mobile&busiType=live'}//长沙县都市生活

  71. if(vid=='jllq'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70123&terminalType=mobile&busiType=live'}//吉林篮球
  72. if(vid=='jbty'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70124&terminalType=mobile&busiType=live'}//劲爆体育
  73. if(vid=='qjs'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70126&terminalType=mobile&busiType=live'}//全纪实
  74. if(vid=='mryy'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70127&terminalType=mobile&busiType=live'}//CBN每日影院
  75. if(vid=='xfjc'){url='https://xs0.csxxsj.cn/cms/interfaces/vod/v1/play?clientId=0&channelId=70128&terminalType=mobile&busiType=live'}//CBN幸福剧场
  76.     $.get(url,
  77.         function (data) {
  78.         var result=JSON.stringify(data);
  79.         m3u8=result.match(/"url":"(.*?)"/)[1];
  80.         location.href='http://24htv.ucoz.com/wltv/p/vlc.html?id='+m3u8;
  81.         });
  82. </script>
  83. </body>
  84. </html>
复制代码
存为:xsxl.html
调用:xsxl.html?id=代码中的vid
说明:在网页上只能用VLC播放器播放;在手机上能否直播播放没有测试。
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-8-6 11:54 | 显示全部楼层
杭州联通 vlc 不能播放,其他也不能播放
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-8-6 13:28 | 显示全部楼层
我这一直播放

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-8-6 14:47 | 显示全部楼层
感谢楼主的分享,这个清晰度太烂了,没啥价值
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-8-6 16:42 | 显示全部楼层
还算流畅,可惜清晰度不高,感谢楼主的分享!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-8-6 18:15 来自手机 | 显示全部楼层
感谢楼主的分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-8-7 10:10 | 显示全部楼层
谢谢分享了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 08:48

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表