GithubHelp home page GithubHelp logo

ame-yu / u2bili Goto Github PK

View Code? Open in Web Editor NEW
58.0 58.0 23.0 3.25 MB

youtube->bilibili 搬运脚本

Home Page: https://space.bilibili.com/481832177

License: MIT License

JavaScript 91.48% Shell 8.52%
actionflow bilibili headless playwright youtube-dl

u2bili's Introduction

Hello 👋, I'm Kyle Zhou

I'm a software developer.I do frontend and backend.

kyle zhou kyle zhou

🚀 Some Tools I Use

java javascript rustlang mysql vue redis nodejs spring Docker openresty lua

css3 java typescript nginx python nuxtjs vue Kubernetes Kubernetes

💡 Other skills

JLPT N1

u2bili's People

Contributors

ame-yu avatar yuleicul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

u2bili's Issues

大佬, 2.0 怎么没有发布 uploadsubs.js, 上传字幕功能?

大佬, 你好,
上个版本的上传字幕功能, 报错 .
var vlist = spaceData.data.list.vlist
TypeError: Cannot read properties of undefined (reading 'vlist')
我找了很多上传字幕的脚本, 你这个是我最后的希望了?
什么时间更新发布 uploadsubs.js?

上传时间过长

action部分log
subs --embed-subs -o './downloads/%(id)s.%(ext)s' --exec 'node upload.js ./downloads/JQTIFDVLD3E.json'
[0-youtube-youtube.yml/U2bili workflow 0] | 从环境变量读取Cookie
[0-youtube-youtube.yml/U2bili workflow 0] | 开始上传/home/runner/work/u2bili/u2bili/downloads/JQTIFDVLD3E.webm
[0-youtube-youtube.yml/U2bili workflow 0] | 上传时间过长

运行时出现报错

./u2bili.sh:` line 14: jq: command not found                                                                                                                                            
./u2bili.sh: line 15: jq: command not found
./u2bili.sh: line 18: [: -ge: unary operator expected
./u2bili.sh: line 24: [: -ge: unary operator expected
youtube-dl https://youtu.be/QFgZQu0Fvxg -q --all-subs --embed-subs -o 'F:\111%(id)s.%(ext)s' --exec 'node upload.js F:\111QFgZQu0Fvxg.json'
WARNING: Requested formats are incompatible for merge and will be merged into mkv.    

大佬, 悄悄的告诉你, 字幕可以和视频同时上传, B站前段时间开通了.

这里不能截图, 具体位置在:
B站网页投稿页面 "标签", "简介", "定时发布" 点开下面的 " 更多设置 (含声明与权益、视频元素、互动管理等)" ,
里边有视频元素, 可以在这个页面, 在上传视频的同时上传字幕

很期待你补充这个功能

我刚参照你的代码写了 python 版 playwright 上传字幕功能, 不过只能在审核后的视频页面提交. 稍显繁琐

最后感谢你, 成就满满

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.