csyezheng / coursera-helper Goto Github PK
View Code? Open in Web Editor NEWThis project forked from coursera-dl/coursera-dl
A command line tool for downloading courses from coursera.
License: GNU Lesser General Public License v3.0
This project forked from coursera-dl/coursera-dl
A command line tool for downloading courses from coursera.
License: GNU Lesser General Public License v3.0
Hi, first of all: thanks for this fork and continuing the development.
I have a question: how to download only the quizzes? If it is not possible now, could there a feature be added so that only the quizzes are downloaded?
Edit: I am now trying the find out whether it is possible with the options --only syllabus and --download-quizzes together. This doesn't seem to work.
hello @csyezheng,
first of all thank you for your Great work on Coursera Helper. It truly changes a lot of think for me.
Please while i was dowloading this course im facing this following error. Please can you help me?
This is the error:
_Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\zo\AppData\Local\Programs\Python\Python311\Scripts\coursera-helper.exe_main.py", line 7, in
File "C:\Users\zo\AppData\Local\Programs\Python\Python311\Lib\site-packages\coursera_helper\coursera_dl.py", line 256, in main
error_occurred, completed = download_class(
^^^^^^^^^^^^^^^
File "C:\Users\zo\AppData\Local\Programs\Python\Python311\Lib\site-packages\coursera_helper\coursera_dl.py", line 216, in download_class
return download_on_demand_class(session, args, class_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zo\AppData\Local\Programs\Python\Python311\Lib\site-packages\coursera_helper\coursera_dl.py", line 172, in download_on_demand_class
completed = course_downloader.download_modules(modules)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zo\AppData\Local\Programs\Python\Python311\Lib\site-packages\coursera_helper\workflow.py", line 163, in download_modules
last_update = self._handle_resource(
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zo\AppData\Local\Programs\Python\Python311\Lib\site-packages\coursera_helper\workflow.py", line 226, in handle_resource
if url.startswith(IN_MEMORY_MARKER):
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'startswith'
Fresh install as a docker container.
When executing the command, I receive an Unrecognized Argument when attempting to supply the course name as a slug with accompanying hyphens or also when trying the course name with spaces. It also does not like the video resolution argument, but I omitted this in an attempt to produce a successful execution, but it still produces the error stating that the course name is unrecognized.
Here is my docker command
'coursera-helper' '--cauth' 'key' '--download-quizzes' '--download-notebook' '--about' '--video-resolution 720p' 'foundations-of-digital-marketing-and-e-commerce'
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.