{"version":"https://jsonfeed.org/version/1.1","title":"奇诺分享 | blog.ccino.cc - 重在分享","home_page_url":"https://blog.ccino.cc","feed_url":"https://blog-ccino-cc.pages.dev/json/","description":"","icon":"https://cdn-blog-ccino-cc.ccino.cc/blog-ccino-cc/production/images/channel-6ebae07c242a357bee27d74ca3e4b3ce.png","favicon":"https://cdn-blog-ccino-cc.ccino.cc/blog-ccino-cc/production/images/favicon-bdc56a1bbdd3d9f75032075380339348.jpg","authors":[{"name":"奇诺分享"}],"language":"zh-cn","items":[{"id":"p2Od2jl0y7Y","title":"肥羊的IPTV等直播源代理Docker部署教程","attachments":[{"url":"https://blog.ccino.org/p/feiyang-iptv-and-other-live-source-proxy-docker-deployment-tutorial/","mime_type":"text/html"}],"url":"https://blog.ccino.cc/i/feiyang-iptv-and-other-live-source-proxy-docker-deployment-tutorial/","external_url":"https://blog.ccino.org/p/feiyang-iptv-and-other-live-source-proxy-docker-deployment-tutorial/","content_html":"<h2>一、推荐使用 Docker 一键运行，并配置 watchtower 监听 Docker 镜像更新，直接一劳永逸：</h2><h3>1，使用 Docker 一键配置 allinone</h3><pre class=\"ql-syntax\" spellcheck=\"false\">docker run -d --restart unless-stopped --net=host --privileged=true -p 35455:35455 --name allinone youshandefeiyang/allinone\n</pre><p><br></p><h3>2，一键配置 watchtower 每天凌晨两点自动监听 allinone 镜像更新，同步 GitHub 仓库：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">docker run -d --name watchtower --restart unless-stopped -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower allinone -c --schedule \"0 0 2 * * *\"\n</pre><p><br></p><h2>二、直接运行：</h2><p><br></p><p>首先去 action 中下载对应平台二进制执行文件，然后解压并直接执行</p><pre class=\"ql-syntax\" spellcheck=\"false\">chmod 777 allinone &amp;&amp; ./allinone\n</pre><p><br></p><p><br></p><p>建议搭配进程守护工具进行使用，windows 直接双击运行！</p><h2>三、详细使用方法</h2><h2><strong>Ysptp 和 Itv 聚合 M 3 U 获取：</strong></h2><p><br></p><p><strong>声明：如果你是在公网服务器部署，不愿意开启聚合 TV 直播服务，在运行裸程序或者 Docker 时，加上参数 -tv=false 即可不开启直播服务，具体可</strong><a href=\"https://t.me/feiyangofficalchannel/922\" rel=\"noopener noreferrer\" target=\"_blank\"><strong>点击参考命令范例</strong></a></p><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/tv.m3u\n</pre><p><br></p><h2><strong>BiliBili、虎牙、斗鱼、YY 实时 M 3 U 获取：</strong></h2><h3>BiliBili 生活：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/bililive.m3u\n</pre><p><br></p><h3>虎牙一起看：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/huyayqk.m3u\n</pre><p><br></p><h3>斗鱼一起看：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/douyuyqk.m3u\n</pre><p><br></p><h3>YY 轮播：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/yylunbo.m3u\n</pre><p><br></p><h3>如果使需要自定义 M 3 U 文件中的前缀域名，可以传入 url 参数（需要注意的是，当域名中含有特殊字符时，需要对链接进行 urlencode 处理）：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/xxxyqk.m3u?url=http://192.168.10.1:35455\n</pre><p><br></p><h2><strong>抖音：</strong></h2><h3>默认最高画质，浏览器打开并复制&nbsp;(live.douyin.com/)xxxxxx，只需要复制后面的 xxxxx 即可（可选 flv 和 hls 两种种流媒体传输方式，默认 flv）：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/douyin/xxxxx(?stream=hls)\n</pre><p><br></p><h2><strong>斗鱼：</strong></h2><h3>1，可选 m 3 u 8 和 flv 以及 xs 三种流媒体传输方式【&nbsp;(www.douyu.com/)xxxxxx 或 (www.douyu.com/xx/xx?rid=)xxxxxx，默认 flv】：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/douyu/xxxxx(?stream=flv)\n</pre><p><br></p><h2><strong>BiliBili&nbsp;(live.bilibili.com/)xxxxxx：</strong></h2><h3>1，平台 platform 参数选择（默认 web，如果有问题，可以切换 h 5 平台）：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">\"flv\"   =&gt; \"FLV\"\n\"hls\"    =&gt; \"M3U8\"\n</pre><p><br></p><h3>2，线路 line 参数选择（默认线路二，如果卡顿 / 看不了，请切换线路一或者三，一般直播间只会提供两条线路，所以建议线路一 / 二之间切换）：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">\"first\"  =&gt; \"线路一\"\n\"second\" =&gt; \"线路二\"\n\"third\"  =&gt; \"线路三\"\n</pre><p><br></p><h3>3，画质 quality 参数选择（默认原画，可以看什么画质去直播间看看，能选什么画质就能加什么参数，参数错误一定不能播放）：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">\"4\" =&gt; \"原画质\"\n\"3\" =&gt; \"低画质\"\n</pre><p><br></p><h3>4，最后的代理链接示例：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/bilibili/xxxxxx(?platform=hls&amp;line=first&amp;quality=4)\n</pre><p><br></p><h2><strong>虎牙&nbsp;(huya.com/)xxxxxx：</strong></h2><h3>1，查看可用 CDN：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/huya/xxxxx?type=display\n</pre><p><br></p><h3>2，切换媒体类型（默认 flv，可选 flv、hls）：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/huya/xxxxx?media=hls\n</pre><p><br></p><h3>3，切换 CDN（默认 hwcdn，可选 hycdn、alicdn、txcdn、hwcdn、hscdn、wscdn，具体可先访问 1 获取）：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/huya/xxxxx?cdn=alicdn\n</pre><p><br></p><h3>4，最后的代理链接示例：</h3><pre class=\"ql-syntax\" spellcheck=\"false\">http://你的IP:35455/huya/xxxxx(?media=xxx&amp;cdn=xxx)\n</pre><p><br></p><h2><strong>YouTube:</strong></h2><pre class=\"ql-syntax\" spellcheck=\"false\">https://www.youtube.com/watch?v=cK4LemjoFd0\nRid: cK4LemjoFd0\nhttp://你的IP:35455/youtube/cK4LemjoFd0(?quality=1080/720...)\n</pre><p><br></p><h2><strong>YY（默认最高画质，参数为 4）:</strong></h2><pre class=\"ql-syntax\" spellcheck=\"false\">https://www.yy.com/xxxx\nhttp://你的IP:35455/yy/xxxx(?quality=1/2/3/4...)\n</pre><p><br></p><h2>更多平台后续会酌情添加</h2>","content_text":"一、推荐使用 DOCKER 一键运行，并配置 WATCHTOWER 监听 DOCKER 镜像更新，直接一劳永逸：\n\n\n1，使用 DOCKER 一键配置 ALLINONE\n\ndocker run -d --restart unless-stopped --net=host --privileged=true -p 35455:35455 --name allinone youshandefeiyang/allinone\n\n\n\n\n\n\n2，一键配置 WATCHTOWER 每天凌晨两点自动监听 ALLINONE 镜像更新，同步 GITHUB 仓库：\n\ndocker run -d --name watchtower --restart unless-stopped -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower allinone -c --schedule \"0 0 2 * * *\"\n\n\n\n\n\n\n二、直接运行：\n\n\n\n\n首先去 action 中下载对应平台二进制执行文件，然后解压并直接执行\n\nchmod 777 allinone && ./allinone\n\n\n\n\n\n\n\n\n建议搭配进程守护工具进行使用，windows 直接双击运行！\n\n\n三、详细使用方法\n\n\nYSPTP 和 ITV 聚合 M 3 U 获取：\n\n\n\n\n声明：如果你是在公网服务器部署，不愿意开启聚合 TV 直播服务，在运行裸程序或者 Docker 时，加上参数 -tv=false\n即可不开启直播服务，具体可点击参考命令范例\n\nhttp://你的IP:35455/tv.m3u\n\n\n\n\n\n\nBILIBILI、虎牙、斗鱼、YY 实时 M 3 U 获取：\n\n\nBILIBILI 生活：\n\nhttp://你的IP:35455/bililive.m3u\n\n\n\n\n\n\n虎牙一起看：\n\nhttp://你的IP:35455/huyayqk.m3u\n\n\n\n\n\n\n斗鱼一起看：\n\nhttp://你的IP:35455/douyuyqk.m3u\n\n\n\n\n\n\nYY 轮播：\n\nhttp://你的IP:35455/yylunbo.m3u\n\n\n\n\n\n\n如果使需要自定义 M 3 U 文件中的前缀域名，可以传入 URL 参数（需要注意的是，当域名中含有特殊字符时，需要对链接进行 URLENCODE 处理）：\n\nhttp://你的IP:35455/xxxyqk.m3u?url=http://192.168.10.1:35455\n\n\n\n\n\n\n抖音：\n\n\n默认最高画质，浏览器打开并复制 (LIVE.DOUYIN.COM/)XXXXXX，只需要复制后面的 XXXXX 即可（可选 FLV 和 HLS\n两种种流媒体传输方式，默认 FLV）：\n\nhttp://你的IP:35455/douyin/xxxxx(?stream=hls)\n\n\n\n\n\n\n斗鱼：\n\n\n1，可选 M 3 U 8 和 FLV 以及 XS 三种流媒体传输方式【 (WWW.DOUYU.COM/)XXXXXX 或\n(WWW.DOUYU.COM/XX/XX?RID=)XXXXXX，默认 FLV】：\n\nhttp://你的IP:35455/douyu/xxxxx(?stream=flv)\n\n\n\n\n\n\nBILIBILI (LIVE.BILIBILI.COM/)XXXXXX：\n\n\n1，平台 PLATFORM 参数选择（默认 WEB，如果有问题，可以切换 H 5 平台）：\n\n\"flv\"   => \"FLV\"\n\"hls\"    => \"M3U8\"\n\n\n\n\n\n\n2，线路 LINE 参数选择（默认线路二，如果卡顿 / 看不了，请切换线路一或者三，一般直播间只会提供两条线路，所以建议线路一 / 二之间切换）：\n\n\"first\"  => \"线路一\"\n\"second\" => \"线路二\"\n\"third\"  => \"线路三\"\n\n\n\n\n\n\n3，画质 QUALITY 参数选择（默认原画，可以看什么画质去直播间看看，能选什么画质就能加什么参数，参数错误一定不能播放）：\n\n\"4\" => \"原画质\"\n\"3\" => \"低画质\"\n\n\n\n\n\n\n4，最后的代理链接示例：\n\nhttp://你的IP:35455/bilibili/xxxxxx(?platform=hls&line=first&quality=4)\n\n\n\n\n\n\n虎牙 (HUYA.COM/)XXXXXX：\n\n\n1，查看可用 CDN：\n\nhttp://你的IP:35455/huya/xxxxx?type=display\n\n\n\n\n\n\n2，切换媒体类型（默认 FLV，可选 FLV、HLS）：\n\nhttp://你的IP:35455/huya/xxxxx?media=hls\n\n\n\n\n\n\n3，切换 CDN（默认 HWCDN，可选 HYCDN、ALICDN、TXCDN、HWCDN、HSCDN、WSCDN，具体可先访问 1 获取）：\n\nhttp://你的IP:35455/huya/xxxxx?cdn=alicdn\n\n\n\n\n\n\n4，最后的代理链接示例：\n\nhttp://你的IP:35455/huya/xxxxx(?media=xxx&cdn=xxx)\n\n\n\n\n\n\nYOUTUBE:\n\nhttps://www.youtube.com/watch?v=cK4LemjoFd0\nRid: cK4LemjoFd0\nhttp://你的IP:35455/youtube/cK4LemjoFd0(?quality=1080/720...)\n\n\n\n\n\n\nYY（默认最高画质，参数为 4）:\n\nhttps://www.yy.com/xxxx\nhttp://你的IP:35455/yy/xxxx(?quality=1/2/3/4...)\n\n\n\n\n\n\n更多平台后续会酌情添加","date_published":"2024-10-06T11:49:27.794Z","_microfeed":{"is_audio":false,"is_document":false,"is_external_url":true,"is_video":false,"is_image":false,"web_url":"https://blog-ccino-cc.pages.dev/i/iptvdocker-p2Od2jl0y7Y/","json_url":"https://blog-ccino-cc.pages.dev/i/p2Od2jl0y7Y/json/","rss_url":"https://blog-ccino-cc.pages.dev/i/p2Od2jl0y7Y/rss/","guid":"p2Od2jl0y7Y","status":"published","itunes:episodeType":"full","date_published_short":"Sun Oct 06 2024","date_published_ms":1728215367794}}],"_microfeed":{"microfeed_version":"0.1.2","base_url":"https://blog-ccino-cc.pages.dev","categories":[],"subscribe_methods":[{"name":"RSS","type":"rss","url":"https://blog-ccino-cc.pages.dev/rss/","image":"https://blog-ccino-cc.pages.dev/assets/brands/subscribe/rss.png","enabled":true,"editable":false,"id":"7-6m9ozpyuG"},{"name":"JSON","type":"json","url":"https://blog-ccino-cc.pages.dev/json/","image":"https://blog-ccino-cc.pages.dev/assets/brands/subscribe/json.png","enabled":true,"editable":false,"id":"kFHio_oK78v"}],"description_text":"","copyright":"©2024","itunes:type":"episodic","items_sort_order":"newest_first"}}