ravizhan / yangcong-dl Goto Github PK
View Code? Open in Web Editor NEW洋葱学院视频下载(无视VIP)
License: GNU Affero General Public License v3.0
洋葱学院视频下载(无视VIP)
License: GNU Affero General Public License v3.0
这里先祝开发者新年快乐
下面是问题:
再选择下载全部内容时不能下载成功
Traceback (most recent call last):
File "c:\Users\Catc\Downloads\yangcong-dl-0.7\main.py", line 158, in
download.download(m3u8_urls, video_names, download_dir)
File "c:\Users\Catc\Downloads\yangcong-dl-0.7\download.py", line 33, in download
urls[i] = urls[i].replace('\n', '')
^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'replace'
但是当我选择单独的视频时却可以下载
还有些建议能不能直接选择某个学科某个版本后直接下载完,就是初中或者高中这一学科的内容都下载完(主要怕哪天就被修复了,代表穷学生谢谢你)
如果能修复的话,大佬修一下吧
另外下载器需要ffmpeg,静默运行没有提示
bug:
①:当ISP是Cloudflare时([172.69.99.63] 来自:**香港 Cloudflare) 软件会闪退
②:当提示已完成的时候 还是会产生 数字.ts 文件
建议:
①:添加字幕功能 (我在用IDM抓取的时候 是会出现字幕的)
②:文件夹改名成 版本/年级上册/下册 /单元 (太麻烦 按照序号找)
如图,报错了,但是我的账号密码是输入正确的
Traceback (most recent call last):
File "D:\Programs\Python38\lib\site-packages\flask\app.py", line 1463, in wsgi_app
response = self.full_dispatch_request()
File "D:\Programs\Python38\lib\site-packages\flask\app.py", line 872, in full_dispatch_request
rv = self.handle_user_exception(e)
File "D:\Programs\Python38\lib\site-packages\flask\app.py", line 870, in full_dispatch_request
rv = self.dispatch_request()
File "D:\Programs\Python38\lib\site-packages\flask\app.py", line 855, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "D:\Python代码\yangcong-dl-main\web.py", line 36, in login
yangcong = webapi.YCForWeb(0, int(mode), a, b)
File "D:\Python代码\yangcong-dl-main\webapi.py", line 29, in __init__
if self.authorization is not None:
AttributeError: 'YCForWeb' object has no attribute 'authorization'
127.0.0.1 - - [19/Feb/2024 12:58:07] "GET /loginget?mode=1&a=账号&b=密码 HTTP/1.1" 500 - #这里a和b分别是我的账号密码,因为隐私问题,我隐藏了
但是 authorization 可以正常登陆
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.