这里是 Nyakku,只是时雨家一只普普通通的小猫猫~
- 🌐 中文 · 日本語 ·
English(learning) - ⏰ 8:50 - 26:30 「UTC+8」
- 🔗 nyakku.moe
:man_student: **大学MOOC全课件(视频、文档、附件)下载器
License: GNU General Public License v3.0
这里是 Nyakku,只是时雨家一只普普通通的小猫猫~
python3 mooc-dl.py https://www.icourse163.org/learn/FUDAN-1456632162?tid=1457131443
下载不了了,
大佬,能否修一下啊。
课程地址:(请在这里填写课程地址)
问题描述:(请在这里填写问题描述)
报错信息:(请在这里粘贴你的报错信息)
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
登录失败了,正确的账号密码也显示密码错误🐛
我在研究代码,不过最后还是没有想出来自己的解决方法
后来想到一个简单的, 记住下载的最后一个 数字 X:
然后下一次下载的时候:
在line 249里,直接X+1 for i, resource in enumerate(resource_list[X+1:]):
相当于一个断点续传。
python mooc-dl.py https://www.icourse163.org/course/SWJTU-1207477804
心理咨询理论和技术 - 西南交通大学
1207477804
Traceback (most recent call last):
File "D:\XMIND\MoocDownload\mooc-dl\utils\crawler.py", line 26, in download_bin
with open(tmp_path, "wb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '心理咨询理论和技术 - 西南交通大学\\11 团体心理工作技术\\11.1 团体咨询技术:保护干预 11.2 团体咨询技术:激励干预 11.2.1 激励干预1 11.2.2 激励干预2 11.3 团体过程分析 11.3.1 团体过程分析概述 11.3.2 团体过程分析模型 11.4 组员的行为 11.4.1 识别难处理的组员 11.4.2 特罗泽的分类:阻抗行为、操控行为、帮助行为 11.4.3 特罗泽的分类:情绪性行为、小团体行为\\11.1.1 团体咨询技术:保护干预_zh.srt.t'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "mooc-dl.py", line 311, in <module>
url, file_path, params = parse_resource(resource, token)
File "mooc-dl.py", line 184, in parse_resource
spider.download_bin(srt_url, srt_path)
File "D:\XMIND\MoocDownload\mooc-dl\utils\crawler.py", line 35, in download_bin
os.remove(tmp_path)
FileNotFoundError: [WinError 3] The system cannot find the path specified: '心理咨询理论和技术 - 西南交通大学\\11 团体心理工作技术\\11.1 团体咨询技术:保护干预 11.2 团体咨询技术:激励干预 11.2.1 激励干预1 11.2.2 激励干预2 11.3 团体过程分析 11.3.1 团体过程分析概述 11.3.2 团体过程分析模型 11.4 组员的行为 11.4.1 识别难处理的组员 11.4.2 特罗泽的分类:阻抗行为、
操控行为、帮助行为 11.4.3 特罗泽的分类:情绪性行为、小团体行为\\11.1.1 团体咨询技术:保护干预_zh.srt.t'
下载视频,前几章很顺利,但后边就开始没速度,然后就是一直
[warn] request timeout, trying again...
猜测可能是被api限速了?
换了一次网络,好了一小会,然后又没速度了,接着还是warn
python mooc-dl.py "https://www.icourse163.org/course/NJUE-1458311167"
Python大数据分析 - 南京财经大学
1458311167
Traceback (most recent call last):
File "Z:\mooc-dl-master\mooc-dl.py", line 318, in
url, file_path, params = parse_resource(resource, token)
File "Z:\mooc-dl-master\mooc-dl.py", line 199, in parse_resource
pdf_url = res.json()["results"]["learnInfo"]["textOrigUrl"]
TypeError: 'NoneType' object is not subscriptable
$ python3 mooc-dl.py https://www.icourse163.org/course/PAEU-1003647009\?tid\=1450354443
启用 FFmpeg 则没有视频文件
https://www.icourse163.org/course/PAEU-1003647009?tid=1450354443
没有错误日志
请问一下这个是模拟app登录,不是网页版的登录吗?
https://www.icourse163.org/course/0-1002607039?tid=1205951206
医学物理学 山东大学 无法下载,下载卡住
有机化学(上) - 大连理工大学
https://www.icourse163.org/course/0-44001?tid=1206054209
课件无法下载,导致卡住
python mooc-dl.py http://www.icourse163.org/learn/kaopei-1461594163?tid=1462381444#/learn/announce
下载MOOC视频
使用默认账号:
Traceback (most recent call last):
File "mooc-dl.py", line 216, in <module>
term_id, course_name = get_summary(url)
File "mooc-dl.py", line 65, in get_summary
term_id = re.search(r'termId : "(\d+)"', res).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
修改config.json为自己的账号密码(账号密码无误):
密码错误!
Traceback (most recent call last):
File "mooc-dl.py", line 216, in <module>
term_id, course_name = get_summary(url)
File "mooc-dl.py", line 65, in get_summary
term_id = re.search(r'termId : "(\d+)"', res).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
问题描述:当前通过 python mooc-dl.py https://www.icourse163.org/course/* 下载的课程清晰度只有标清,修改 config.json 的 resolution 没有作用。
$ python3 mooc-dl.py https://www.icourse163.org/course/PAEU-1003647009\?tid\=1450354443
使用其他路径, 下载的文件夹里没有视频
https://www.icourse163.org/course/PAEU-1003647009?tid=1450354443
在配置文件里使用过 /tmp/...
, /run/media/...
位置, 但都没有视频. 使用默认配置会正常.
python mooc-dl.py "https://www.icourse163.org/learn/kaopei-1463848162?tid=1464722441#/learn/announce"
python mooc-dl.py https://www.icourse163.org/course/BUCT-1002990004?tid=1470662444
控制台报错:[ERROR] 无法获取课件信息!原因:「课程权限已到期,请重新购买」,疑似该课程已关闭。
调试程序后发现在mooc-dl.py文件中的get_courseinfo()函数返回值为:{'status': {'code': 403, 'message': '课程权限已到期,请重新购买'}, 'results': None, 'extraInfo': None}。
测试了多个课程链接,都有这样的报错。
Foair/course-crawler#37 (comment)
$ python mooc-dl.py https://www.icourse163.org/course/0701TJU046-1003168003
线性代数学习指导 - 同济大学
1003168003
Traceback (most recent call last):
File "mooc-dl.py", line 219, in <module>
resource_list = get_resource(term_id, token)
File "mooc-dl.py", line 160, in get_resource
file_path += ext
UnboundLocalError: local variable 'ext' referenced before assignment
python mooc-dl.py https://www.icourse163.org/course/ZJU-93001?tid=1003997005
在调用相关命令时,出现
数据结构 - 浙江大学
93001
Traceback (most recent call last):
File "E:\project\mooc-dl\mooc-dl.py", line 227, in <module>
resource_list = get_resource(term_id, token, file_types=CONFIG["file_types"])
File "E:\project\mooc-dl\mooc-dl.py", line 139, in get_resource
course_info = get_courseinfo(term_id, token)
File "E:\project\mooc-dl\mooc-dl.py", line 56, in get_courseinfo
print('res响应结果:{},data:{}'.format(res.josn(),data))
AttributeError: 'Response' object has no attribute 'josn'
无法解析相关的一个返回结果
py3 mooc-dl.py https://www.icourse163.org/course/CSU-1206894807
下载的PDF, 其中一些的内容为:
<?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>AccessDenied</Code>
<Message>error_expires_timeout</Message>
<Resource>%2Fedu-lesson-pdfsrc%2F87738B322EFBC1702D16411A66CBB130-1574991673443</Resource>
<RequestId>77b97717-bce8-4924-b8b3-8d73df430074</RequestId>
</Error>
PDF可以正常阅读
去网页上查看, 发现下载出错的PDF可以正常阅读
今天重新下载一遍, 发现有问题的PDF集合不是相同的
出错的PDF集合从列表中间开始, 一直到末尾
https://www.icourse163.org/course/HPU-1449724166?tid=1450160452
下载的视频播放只停留在封面 (VLC 3.0.11.1)
似乎不是有效的 mp4
$ file 5.1.1-中断的基本概念.mp4
5.1.1-中断的基本概念.mp4: data
ArchLinux
Python 3.8.5
无
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.