2 private links
https://github.com/jianchang512/pyvideotrans/blob/main/README_EN.md / https://github.com/jianchang512/pyvideotrans/blob/main/about.md / Q群 905857759 / 微信公众号:搜一搜“ pyvideotrans ” 语音识别支持 faster-whisper模型 openai-whisper模型 和 GoogleSpeech zh_recogn阿里中文语音识别模型. [...] 文字合成语音支持 Microsoft Edge tts Google tts Azure AI TTS Openai TTS Elevenlabs TTS 自定义TTS服务器api GPT-SoVITS https://github.com/jianchang512/clone-voice 允许保留背景伴奏音乐等(基于uvr5) [...] 打开终端窗口,分别执行如下命令 brew install libsndfile brew install ffmpeg brew install git brew install python@3.12 [...] 终端中执行命令 git clone https://github.com/jianchang512/pyvideotrans 执行命令 cd pyvideotrans 继续执行 python -m venv venv 继续执行命令 source./venv/bin/activate,执行完毕查看确认终端命令提示符已变成已(venv)开头,以下命令必须确定终端提示符是以(venv)开头 执行 pip install -r requirements.txt --no-deps,如果提示失败,执行如下2条命令切换pip镜像到阿里镜像 pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ pip config set install.trusted-host mirrors.aliyun.com 然后重新执行 如果已切换到阿里镜像源,仍提示失败,请尝试执行 pip install -r requirements.txt --ignore-installed --no-deps python sp.py 打开软件界面 https://pyvideotrans.com/mac.html
yt-dlp is a https://github.com/ytdl-org/youtube-dl fork based on the now inactive https://github.com/blackjack4494/yt-dlc. You can install yt-dlp using #release-files, https://pypi.org/project/yt-dlp or one using a third-party package manager. [...] # Download best format that contains video, # and if it doesn't already have an audio stream, merge it with best audio-only format $ yt-dlp -f "bv+ba/b" [...] # Download and merge the best format that has a video stream, # and the best 2 audio-only formats into one file $ yt-dlp -f "bv+ba+ba.2" --audio-multistreams [...] # Download the best mp4 video available, or the best video if no mp4 available $ yt-dlp -f "bv[ext=mp4]+ba[ext=m4a]/b[ext=mp4] / bv+ba/b"
启动服务 如果你不知道如何操作,下面的命令可能会帮助你 python3 run.py -h —————————————————————————— sage: run.py [-h] operate positional arguments: operate r: 运行抢票程序, c: 过滤cdn, t: 测试邮箱和server酱,server酱 如果你的服务器安装了docker与docker-compose, 那么你可以忽略上面的所有步骤,直接按以下步骤操作,即可开始抢票: 前提条件: 请确认你安装的docker版本为18.09及以上: docker -v 请确认你安装的docker-compose版本为1.23.2及以上: docker-compose -v 运行命令: 开始抢票:docker-compose up --build -d 停止抢票:docker-compose down 查看抢票log: docker logs --follow ticket #目录对应说明 agency - cdn代理 config - 项目配置 verify - 自动打码 init - 项目主运行目录 inter - 接口 myException - 异常 myUrllib request网络请求库 [...] #使用帮助一些安装问题和使用反馈较多的问题 测试邮箱是否可用 https://github.com/testerSunshine/12306/issues/107 学生票issues https://github.com/testerSunshine/12306/issues/47
Download all your kindle books script. pip3 install -r requirements.txt python no_kindle.py -e ${email} -p ${password} [...] Cli 安装使用 python3 requirements python3 --version # 查看 python 版本 pip3 install kindle_download # 使用 pip 安装 git clone https://github.com/yihong0618/Kindle_download_helper.git && cd Kindle_download_helper pip3 install -r requirements.txt python kindle.py -h # 查看使用参数 usage: kindle.py [-h] [--cookie COOKIE | --cookie-file COOKIE_FILE] [--cn] [--jp] [--de] [--uk] [--resume-from INDEX] [--cut-length CUT_LENGTH] [-o OUTDIR] [-od OUTDEDRMDIR] [-s SESSION_FILE] [--pdoc] [--resolve_duplicate_names] [--readme] [--dedrm] [--list] [--device_sn DEVICE_SN] [--mode MODE] [csrf_token] positional arguments: csrf_token amazon or amazon cn csrf token optional arguments: -h, --help show this help message and exit --cookie COOKIE amazon or amazon cn cookie --cookie-file COOKIE_FILE load cookie local file --cn if your account is an amazon.cn account --jp if your account is an amazon.co.jp account --de if your account is an amazon.de account --uk if your account is an amazon.co.uk account --resume-from INDEX resume from the index if download failed --cut-length CUT_LENGTH truncate the file name dwonload output dir -od OUTDEDRMDIR, --outdedrmdir OUTDEDRMDIR dwonload output dedrm dir -s SESSION_FILE, --session-file SESSION_FILE The reusable session dump file --pdoc to download personal documents or ebook --resolve_duplicate_names Resolve duplicate names files to download --readme If you want to generate kindle readme stats --dedrm If you want to dedrm
directly --list just list books/pdoc, not to download --device_sn DEVICE_SN Download file for device with this serial number --mode MODE Mode of download, all : download all files at once, sel: download selected files 下载 kindle 书籍 [...] python3 kindle.py --cn ${csrfToken} # Both cookie and CSRF Token python3 kindle.py --cn --cookie ${cookie} ${csrfToken} 自动获取 cookie 如果你的运行环境是本机,项目可以使用 https://github.com/borisbabic/browser_cookie3 库自动从浏览器中获取 cookie。 使用 amazon.cn 登陆 amazon.cn 访问 https://www.amazon.cn/hz/mycd/myx#/home/content/booksAll/dateDsc/ 右键查看源码,搜索 csrfToken 复制后面的 value 执行 python3 kindle.py --cn 如果下载推送文件 python3 kindle.py --cn --pdoc 如果想直接 dedrm 解密 (不保证好用) python3 kindle.py --cn --pdoc --dedrm how to amazon.com login amazon.com visit https://www.amazon.com/hz/mycd/myx#/home/content/booksAll/dateDsc/ right click this page source then find csrfToken value copy run: python3 kindle.py if is doc file python3 kindle.py --pdoc how to amazon.de login amazon.de visit https://www.amazon.de/hz/mycd/myx#/home/content/booksAll/dateDsc/ right click this page source then find csrfToken value copy run: python3 kindle.py --de if is doc file python3 kindle.py --de --pdoc how to amazon.co.uk login amazon.co.uk visit https://www.amazon.co.uk/hz/mycd/myx#/home/content/booksAll/dateDsc/ right click this page source then find csrfToken value copy run: python3 kindle.py --uk if is doc file python3 kindle.py --uk --pdoc amazon.jp を使用する amazon.co.jp にログインする。