Skip to content
This repository has been archived by the owner on Jan 9, 2022. It is now read-only.

problem from links #27

Open
nbsp-null opened this issue Dec 17, 2018 · 2 comments
Open

problem from links #27

nbsp-null opened this issue Dec 17, 2018 · 2 comments

Comments

@nbsp-null
Copy link

如果爬取的链接,用第三方无法下载,将链接复制到游览器会404的话(极少数课程出现这种情况)。可以尝试吧下载链接开头http://v.stu.126.net/mooc-video/部分替换为http://jdvodrvfb210d.vod.126.net/jdvodrvfb210d/,这个应该是慕课存储资源的路径问题。

Rename.bat不可用时 linux推荐解决方案
sed -i 's#.mp4"#.mp4"#' Rename.bat sed -i 's#mv#mv ls|grep#g' Rename.bat

@nbsp-null
Copy link
Author

window 推荐用powershell 类似通配符解决

@aefgijn
Copy link

aefgijn commented Dec 25, 2018

如果爬取的链接,用第三方无法下载,将链接复制到游览器会404的话(极少数课程出现这种情况)。尝试可以吧下载链接开头和结尾http://v.stu.126.net/mooc -Video /部分替换为http://jdvodrvfb210d.vod.126.net/jdvodrvfb210d/,这个应该是慕课存储资源的路径问题。

Rename.bat不可用时linux推荐解决方案
sed -i的#.mp4“#。mp4” #' Rename.bat sed -i 's#mv#mv ls | grep #g'Rename.bat

确实有用 谢谢了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants