Git Product home page Git Product logo

yangcong-dl's Introduction

yangcong-dl's People

Contributors

fsf678 avatar ravizhan avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

yangcong-dl's Issues

视频下载有问题

这里先祝开发者新年快乐
下面是问题:
1
再选择下载全部内容时不能下载成功
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'
但是当我选择单独的视频时却可以下载
2
还有些建议能不能直接选择某个学科某个版本后直接下载完,就是初中或者高中这一学科的内容都下载完(主要怕哪天就被修复了,代表穷学生谢谢你)

视频的标题和内容对不上号,而且并不能爬取全部的视频。

微信图片_20240208123352
选修一 共有63个视频这里却只有55个
微信图片_20240208123401
我再次选择第4单元又冒出来了开始没有爬到的视频,但这时的视频仍然少了一个,并不是最后一个视频而是中间的一个。
还有命名不对比如第四单元的最后一个视频是金属的腐蚀却被命名成了电解池中的计算

用不了了

如果能修复的话,大佬修一下吧
另外下载器需要ffmpeg,静默运行没有提示

一些Bug&建议

bug:
①:当ISP是Cloudflare时([172.69.99.63] 来自:**香港 Cloudflare) 软件会闪退
②:当提示已完成的时候 还是会产生 数字.ts 文件

建议:
①:添加字幕功能 (我在用IDM抓取的时候 是会出现字幕的)
②:文件夹改名成 版本/年级上册/下册 /单元 (太麻烦 按照序号找)

web 密码如有特殊字符将无法登录

如图,报错了,但是我的账号密码是输入正确的

image

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 可以正常登陆

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.