yajuhua / podcast2

将视频网站转换成播客订阅 Convert a video website into a podcast subscription 支持 哔哩哔哩、YouTube、vimeo、干净世界和girigirilove 图形化界面
https://yajuhua.github.io
Apache License 2.0
82 stars 7 forks source link
alist anime bilibili docker podcasts podsync rss vimeo youtube youtube-dl yt-dlp


Release docker-pull JDK apache-licenses test latest

Podcast2


项目说明

使用Docker

  1. 安装并启动Docker
    curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh && systemctl start docker
  2. 创建并启动Docker
    docker volume create podcast2
    docker run -id --name=podcast2 \
    -p 8088:8088 \
    --restart=always \
    --mount source=podcast2,destination=/data \
    yajuhua/podcast2:latest
  3. 防火墙放行端口
    #以下是centos7,其他系统自行搜索。
    firewall-cmd --add-port=8088/tcp --permanent
    firewall-cmd --reload

    使用Windows

  4. 下载podcast2压缩包
  5. 双击启动 windows-start

使用macOS

  1. 下载podcast2压缩包
  2. 解压得到 platform文件夹
  3. 赋执行权限
    chmod -R a+x platform
  4. 启动
    #进入platform/osx
    ./start.sh

    进入面板

默认访问地址 [http://你的IP地址:8088]()

默认用户名:admin
默认密码:123456

登录

安装插件

项目默认是没有添加插件的,自行按需添加

支持网站

网站 状态
干净世界
vimeo
ntdm
girigirilove
youtube
bilibili
抖音
  1. 安装插件 安装插件

  2. 设置插件,如果有的话 设置插件

添加订阅

以干净世界为例

  1. 复制主页链接 复制主页链接
  1. 粘贴并点击Add 添加订阅

  2. 点击二维码 二维码

  3. 扫描二维码添加到播客APP(如:AntennaPod)

链接地址AntennaPod-2

播客APP

Apple Podcasts
        </a><a href="https://podcastaddict.com/" target="_blank"><img title="Podcast Addict" alt="Podcast Addict" src="https://pod.link/assets/apps/podcastaddict.svg" width="35"></a>  <a href="https://antennapod.org/" target="_blank">
          <img src="https://antennapod.org/assets/branding/logo-full-horizontal-dynamic.svg" width="230" alt="AntennaPod">          </a>

常见问题

哔哩哔哩设置

风控太严,只能选择授权的方式

参考

风控太严,只能选择授权的方式,参考 Web端Cookie刷新

打开浏览器登录哔哩哔哩,最好无痕窗口

登录哔哩哔哩

复制cookie

复制cookie

复制ac_time_value

复制ac_time_valu

注意!这样子相当于登录了,复制后要清理哔哩哔哩浏览器记录,否则会与本插件冲突


忘记密码

进入数据卷目录
[root@centos7 ~]# docker volume inspect podcast2
[
    {
        "CreatedAt": "2024-03-23T19:57:47+08:00",
        "Driver": "local",
        "Labels": null,
        "Mountpoint": "/var/lib/docker/volumes/podcast2/_data",
        "Name": "podcast2",
        "Options": null,
        "Scope": "local"
    }
]
[root@centos7 ~]# cd /var/lib/docker/volumes/podcast2/_data
[root@centos7 _data]# ls
cert  config  database  logs  plugin  resources  tmp
[root@centos7 _data]# cd config/
修改config.json
#改成true
{"initUserNameAndPassword":true}
重启后将恢复默认用户名和密码

用户名 admin 密码 123456

开启HTTPS

目前仅支持通过上传证书和密钥文件来实现

文件格式要求
#证书文件格式必须是crt
#密钥文件格式必须是key
重启后并以https访问


更新podcast2

数据保留


# 停止容器
docker stop podcast2

删除容器

docker rm podcast2

删除本地镜像

docker rmi yajuhua/podcast2:latest

拉取最新镜像

docker pull yajuhua/podcast2:latest

创建新的容器

docker run -id --name=podcast2 \ -p 8088:8088 \ --restart=always \ --mount source=podcast2,destination=/data \ yajuhua/podcast2:latest

##### 重新开始
> 如果使用最新版都无法解决,可以试试删除所有数据
````shell
# 停止容器
docker stop podcast2

# 删除容器
docker rm podcast2

# 删除本地镜像
docker rmi yajuhua/podcast2:latest

# 删除数据
docker volume rm podcast2

# 拉取最新镜像
docker pull yajuhua/podcast2:latest

#创建新的容器
docker run -id --name=podcast2 \
-p 8088:8088 \
--restart=always \
--mount source=podcast2,destination=/data \
yajuhua/podcast2:latest

Invidious API

yt-dlp可能会出现Sign in to confirm you’re not a bot. This helps protect our community导致无法下载的情况。 目前只能通过设置invidious API进行下载,下面是invidious API列表,找一个能有用的设置即可。

插件bug或失效

由于插件是并非使用官方接口,难免存在不稳定性。若发现插件失效,请issues

Star History

Star History

使用到的项目

使用的加速站

鸣谢

特别感谢 JetBrains 为开源项目提供免费的 IntelliJ IDEA的授权

🐧交流群

945797272