cs-dlp icon indicating copy to clipboard operation
cs-dlp copied to clipboard

"Error 403 Client Error" when attempting to download quizzes

Open FuriousGamer1356 opened this issue 9 months ago • 1 comments

When I run the command cs-dlp --cauth-auto firefox --subtitle-language en --download-quizzes algebra-i, the course videos and subtitles download just fine, but when the program tries downloading the exams/quizzes, it prints Error 403 Client Error. Am I missing something? My laptop is running Debian sid.

$ cs-dlp --cauth-auto firefox --subtitle-language en --download-quizzes algebra-i
coursera_dl version 0.12.0b0
Downloading class: algebra-i (1 / 1)
Parsing syllabus of on-demand course (id=TWNon2r-Eeumww4A4k-nvw). This may take some time, please be patient ...
Processing module  module-1-the-structure-of-numbers
Processing section     lesson-1-real-numbers
Processing lecture         real-numbers (lecture)
Processing lecture         notes-common-sets-of-numbers (supplement)
Processing lecture         sample-problems-real-numbers (supplement)
Processing lecture         structure-of-numbers (exam)
Error 403 Client Error: Forbidden for url: https://api.coursera.org/api/onDemandExamSessions.v1 getting page https://api.coursera.org/api/onDemandExamSessions.v1
The server replied: {"errorCode":"Not Authorized","message":null,"details":null}
Could not download exam eQuAo: 403 Client Error: Forbidden for url: https://api.coursera.org/api/onDemandExamSessions.v1
Processing section     lesson-2-properties-of-real-numbers
Processing lecture         properties-of-real-numbers (lecture)
Processing lecture         notes-operations (supplement)
Processing lecture         notes-working-with-fractions (supplement)
Processing lecture         sample-problems-properties-of-real-numbers (supplement)
Processing lecture         properties-of-real-numbers (exam)
Error 403 Client Error: Forbidden for url: https://api.coursera.org/api/onDemandExamSessions.v1 getting page https://api.coursera.org/api/onDemandExamSessions.v1
The server replied: {"errorCode":"Not Authorized","message":null,"details":null}
Could not download exam pQm5a: 403 Client Error: Forbidden for url: https://api.coursera.org/api/onDemandExamSessions.v1
Processing module  module-2-linear-equations
Processing section     lesson-1-linear-equations-in-one-variable
...
$

FuriousGamer1356 avatar Oct 06 '23 23:10 FuriousGamer1356