kaanari / coursera-gdrive Goto Github PK
View Code? Open in Web Editor NEWThis repository is helpful for downloading all enrolled courses in Coursera into Google Drive via Google Colab
License: GNU General Public License v3.0
This repository is helpful for downloading all enrolled courses in Coursera into Google Drive via Google Colab
License: GNU General Public License v3.0
can you add the subtitle choice feature too please?
Unexpected error when running the downloader.download()
command. Only 1 course was enrolled at the time.
Error message:
/usr/local/lib/python3.10/dist-packages/coursera_gdrive/CourseraDownloader.py:369: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
with io.open(courseLog, 'wb') as writer, io.open(courseLog, 'rb', 1) as reader:
coursera_dl version 0.11.5
Downloading class: learning-how-to-learn (1 / 1)
Parsing syllabus of on-demand course (id=GdeNrll1EeSROyIACtiVvg). This may take some time, please be patient ...
Error 404 Client Error: Not Found for url: https://api.coursera.org/api/onDemandCourseMaterials.v1/?q=slug&slug=learning-how-to-learn&includes=moduleIds%2ClessonIds%2CpassableItemGroups%2CpassableItemGroupChoices%2CpassableLessonElements%2CitemIds%2Ctracks&fields=moduleIds%2ConDemandCourseMaterialModules.v1(name%2Cslug%2Cdescription%2CtimeCommitment%2ClessonIds%2Coptional)%2ConDemandCourseMaterialLessons.v1(name%2Cslug%2CtimeCommitment%2CelementIds%2Coptional%2CtrackId)%2ConDemandCourseMaterialPassableItemGroups.v1(requiredPassedCount%2CpassableItemGroupChoiceIds%2CtrackId)%2ConDemandCourseMaterialPassableItemGroupChoices.v1(name%2Cdescription%2CitemIds)%2ConDemandCourseMaterialPassableLessonElements.v1(gradingWeight)%2ConDemandCourseMaterialItems.v1(name%2Cslug%2CtimeCommitment%2Ccontent%2CisLocked%2ClockableByItem%2CitemLockedReasonCode%2CtrackId)%2ConDemandCourseMaterialTracks.v1(passablesCount)&showLockedItems=true getting page https://api.coursera.org/api/onDemandCourseMaterials.v1/?q=slug&slug=learning-how-to-learn&includes=moduleIds%2ClessonIds%2CpassableItemGroups%2CpassableItemGroupChoices%2CpassableLessonElements%2CitemIds%2Ctracks&fields=moduleIds%2ConDemandCourseMaterialModules.v1(name%2Cslug%2Cdescription%2CtimeCommitment%2ClessonIds%2Coptional)%2ConDemandCourseMaterialLessons.v1(name%2Cslug%2CtimeCommitment%2CelementIds%2Coptional%2CtrackId)%2ConDemandCourseMaterialPassableItemGroups.v1(requiredPassedCount%2CpassableItemGroupChoiceIds%2CtrackId)%2ConDemandCourseMaterialPassableItemGroupChoices.v1(name%2Cdescription%2CitemIds)%2ConDemandCourseMaterialPassableLessonElements.v1(gradingWeight)%2ConDemandCourseMaterialItems.v1(name%2Cslug%2CtimeCommitment%2Ccontent%2CisLocked%2ClockableByItem%2CitemLockedReasonCode%2CtrackId)%2ConDemandCourseMaterialTracks.v1(passablesCount)&showLockedItems=true
The server replied:
<title>Coursera - API Route Does Not Exist</title>
Just these files were downloaded to the folder in Gdrive:
There are no errors in the input as when I run the command to see a list of my enrolled courses there is no problem in that.
I downloaded some courses but all of them only had 360p videos. Is there any option to increase the resolution of the videos?
Hello,
When running 'downloader.download()' I get the following error :
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 3326, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
downloader.download()
File "/usr/local/lib/python3.8/dist-packages/coursera_gdrive/CourseraDownloader.py", line 285, in download
self._startDownload()
File "/usr/local/lib/python3.8/dist-packages/coursera_gdrive/CourseraDownloader.py", line 341, in _startDownload
self._settings() # Creates Coursera-dl Configs.
File "/usr/local/lib/python3.8/dist-packages/coursera_gdrive/CourseraDownloader.py", line 296, in _settings
with open('coursera-dl.conf', "w") as configFile:
FileNotFoundError: [Errno 2] No such file or directory: 'coursera-dl.conf'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 2040, in showtraceback
stb = value.render_traceback()
AttributeError: 'FileNotFoundError' object has no attribute 'render_traceback'
During handling of the above exception, another exception occurred:
Thank you,
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.