Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPError 404 Client Error: Not Found for URL #861

Open
TXMack713 opened this issue Nov 27, 2023 · 7 comments
Open

HTTPError 404 Client Error: Not Found for URL #861

TXMack713 opened this issue Nov 27, 2023 · 7 comments

Comments

@TXMack713
Copy link

馃毃Please review the Troubleshooting section
before reporting any issue. Don't forget to check also the current issues to
avoid duplicates.

Subject of the issue

Describe your issue here.

Your environment

  • Operating System (name/version): Ubuntu 23.10
  • Python version: 3.10
  • coursera-dl version: 0.11.5

Steps to reproduce

Tell us how to reproduce this issue, please don't forget to include
enough information so that you can help us help you:

  • Is the problem happening with the latest version of the script? -- Yes

  • Do you have all the recommended versions of the modules? See them in the
    file requirements.txt. -- Yes

  • What is the course that you are trying to access? -- Programming-in-python by Meta

  • What is the precise command line that you are using (don't forget to obfuscate
    your username and password, but leave all other information untouched).
    ./coursera-dl -ca 'cookie info' programming-in-python

  • What are the precise messages that you get? Please, use the --debug
    option before posting the messages as a bug report. Please, copy and paste
    them. Don't reword/paraphrase the messages.

Expected behaviour

Tell us what should happen.

Actual behaviour

Tell us what happens instead. If the script fails, please copy the entire
output of the command or the stacktrace (don't forget to obfuscate your
username and password). If you cannot copy the exception, attach a screenshot.

Downloading class: programming-in-python (1 / 1)
Parsing syllabus of on-demand course (id=2jTqHscpEeyduw6ktL3Xvw). 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=programming-in-python&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=programming-in-python&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>







API Route Does Not Exist



Edge does not know about this API route.

Check whether this route is exposed in the routing table.


HTTPError 404 Client Error: Not Found for url: https://api.coursera.org/api/onDemandCourseMaterials.v1/?q=slug&slug=programming-in-python&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
@eliemada
Copy link

eliemada commented Dec 7, 2023

I have the same issue !

@filipeaguiarrod
Copy link

Same here !

@TXMack713
Copy link
Author

I have the same issue !

Use this fork:

https://github.com/raffaem/cs-dlp

Be sure to follow the same instructions as the coursera-dl repo, i.e. creating the instructions file with the info regarding your arguments and parameters of what all you want to download first. Otherwise, you'll download all the translations available rather than just tour preferred language.

@TXMack713
Copy link
Author

TXMack713 commented Dec 23, 2023

Same here !

https://github.com/raffaem/cs-dlp

Be sure to follow the same instructions as the coursera-dl repo, i.e. creating the instructions file with the info regarding your arguments and parameters of what all you want to download first. Otherwise, you'll download all the translations available rather than just tour preferred language.

Worked like a charm once I figured that part out.

@MrTimonM
Copy link

Same here !

https://github.com/raffaem/cs-dlp

Be sure to follow the same instructions as the coursera-dl repo, i.e. creating the instructions file with the info regarding your arguments and parameters of what all you want to download first. Otherwise, you'll download all the translations available rather than just tour preferred language.

Worked like a charm once I figured that part out.

Hi, can you please tell why I am getting this error and how to fix this
here

Thank you

@nishantbadhautiya
Copy link

nishantbadhautiya commented Apr 10, 2024

Hii, I am using Ubuntu 22 and i tried -u and -p to authenticate my account that is causing an error
So, i tried another way via using -ca flag in terminal and i still getting the error. Can anyone know how to resolve this issue.
The error i getting by terminal is:

`
(venv) nishant@nishant-hp-laptop:~/Desktop/temp/Coursera_course$ coursera-dl -ca Z6gp7t03AmOQdLPCv3W2sLJ9HXs2NB3ozMp7d-tQ1eY1_WO6yBH0rf0yF1OtgD-ADD2WdiR5VgEb_U2_7g.n6DG3YrUKuQSXt3u1TxoNw.e_7OhVUXvk6oY8yTFo_hmrkYKqSozT5AYyiIF3rMejY5r-Smahe0F22MbKTzeVDTCQR3o5x0eb4VVVbJ7OHoZfrbcW83dT6JdddRaf-O4t0FrLkJRHUaNJKD71lYfwF99RtI3os2ZSjzdfI_tctNWx9Xu2DpBp-5mrYmrWlSpdStgXhgovpxwpNq7yTlXjpQ-sjVWM2Lk_DpSCe3GqKaq53t5sjoodKAO4HQ-M9y14WwlHs44aa6Ay9vo5enCwva5tcMUqYa_tfz_P1dJ-TIo6sHn0HSospMXN6TRPdK8oy1ybxmcktq_pbkXLUKa5NqfBRlCJ7Tl68aGZxzRQAhTQfs7OZaFiX0rh0nEbfPEDnE8q3FHIjB8sYl4jcEpnVJL8VkhRy3DmPW_tL8KBNMFOiaPh2B55HpGhoL22-KQUs --video-resolution 720p create-a-profile-and-network-on-linkedin
coursera_dl version 0.11.5
Downloading class: create-a-profile-and-network-on-linkedin (1 / 1)
Parsing syllabus of on-demand course (id=q-luJNXPEeqsTwpM1jVyqw). 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=create-a-profile-and-network-on-linkedin&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=create-a-profile-and-network-on-linkedin&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>







API Route Does Not Exist



Edge does not know about this API route.

Check whether this route is exposed in the routing table.


HTTPError 404 Client Error: Not Found for url: https://api.coursera.org/api/onDemandCourseMaterials.v1/?q=slug&slug=create-a-profile-and-network-on-linkedin&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 `

@msk-nightly
Copy link

Same issue here.

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

No branches or pull requests

6 participants