GithubHelp home page GithubHelp logo

mygolang's Introduction

iptv-go 「转载」@papagaye744

使用 vercel 部署 https://github.com/youshandefeiyang/LiveRedirectGolang脚本

格式事例

  • https://″域名″/live/″Go脚本名″/″房间号″

部署步骤

  1. Fork项目到自己的仓库
  2. 在Vercel创建Project并选择mygolang
  3. Build&Deploy
  4. Enjoy~

可以自定义域名CNAMEcname-china.vercel-dns.com加速访问

使用说明书

抖音:

1,抖音手机客户端进入直播间后,点击右下角三个点,点击分享,点击复制链接,然后运行并访问:

http://你的IP:35455/douyin?url=https://v.douyin.com/xxxxxx(&quality=xxxx)

其中&quality参数默认origin原画,可以省略,也可以手动指定:uhd、origin、hd、sd、ld

2,抖音电脑端需要打开抖音网页版复制(live.douyin.com/)xxxxxx,只需要复制后面的xxxxx即可:

http://你的IP:35455/douyin/xxxxx

斗鱼:

1,可选m3u8和flv以及xs三种流媒体传输方式【(www.douyu.com/)xxxxxx 或 (www.douyu.com/xx/xx?rid=)xxxxxx,默认m3u8兼容性好】:

http://你的IP:35455/douyu/xxxxx

2,选择flv/xs时可选择不同cdn(需要加streamcdn参数,不加参数默认hlsopenhls-tct.douyucdn2.cn

http://你的IP:35455/douyu/xxxxx(?stream=flv( or xs)&cdn=xxxxx)

BiliBili(live.bilibili.com/)xxxxxx

1,平台platform参数选择(默认web,如果有问题,可以切换h5平台):

"web"   => "桌面端"
"h5"    => "h5端"

2,线路line参数选择(默认线路二,如果卡顿/看不了,请切换线路一或者三,一般直播间只会提供两条线路,所以建议线路一/二之间切换):

"first"  => "线路一"
"second" => "线路二"
"third"  => "线路三"

3,画质quality参数选择(默认原画,可以看什么画质去直播间看看,能选什么画质就能加什么参数,参数错误一定不能播放):

"30000" => "杜比"
"20000" => "4K"
"10000" => "原画"
"400"   => "蓝光"
"250"   => "超清"
"150"   => "高清"
"80"    => "流畅"

4,最后的代理链接示例:

http://你的IP:35455/bilibili/xxxxxx(?platform=h5&line=first&quality=10000)

虎牙(huya.com/)xxxxxx

1,查看可用CDN:

http://你的IP:35455/huya/xxxxx?type=display

2,切换媒体类型(默认flv,可选flv、hls):

http://你的IP:35455/huya/xxxxx?media=hls

3,切换CDN(默认hwcdn,可选hycdn、alicdn、txcdn、hwcdn、hscdn、wscdn,具体可先访问1获取):

http://你的IP:35455/huya/xxxxx?cdn=alicdn

4,最后的代理链接示例:

http://你的IP:35455/huya/xxxxx(?media=xxx&cdn=xxx)

YouTube:

https://www.youtube.com/watch?v=cK4LemjoFd0
Rid: cK4LemjoFd0
http://你的IP:35455/youtube/cK4LemjoFd0(?quality=1080/720...)

YY(默认最高画质,参数为4):

https://www.yy.com/xxxx
http://你的IP:35455/yy/xxxx(?quality=1/2/3/4...)

mygolang's People

Contributors

yang-1989 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.