victorywangcn / edx-dl-node Goto Github PK
View Code? Open in Web Editor NEWedx-dl node version, download edx courses
edx-dl node version, download edx courses
首先感谢作者开源,我是想下edx的课,然后找到这个项目的,我对于node.js & js完全是新手,于是想请教一下,npm install之后,这个该如何启动
(async () => {
let holder = new EdxHolder("##username##", "##pwd##");
let courseStructure = await new CourseSpider(holder,
"https://courses.edx.org/courses/##course##/course/").extractStructure();
let structure = await new DetailContentSpider(courseStructure, holder).populateDetail();
new Persist(structure, "#store_path#", holder).persist();
})();
是否是将上述代码放到一个js里,修改用户名密码等参数,然后用node去启动这个js.
希望作者能指点一下,谢谢了
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.