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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No downloadable video found #667

Open
owaiss007 opened this issue Feb 18, 2021 · 6 comments
Open

No downloadable video found #667

owaiss007 opened this issue Feb 18, 2021 · 6 comments

Comments

@owaiss007
Copy link

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

Subject of the issue

It is giving me an error that no downloadable video found. I think edx may have changed their structure. Could anyone confirm whether it is working with them?

Your environment

  • Operating System (name/version): Windows 10
  • Python version: 3.8
  • youtube-dl version:
  • edx-dl version: 0.1.13

Steps to reproduce

Tell us how to reproduce this issue. Please provide us the course URL, and the
specific subsection or unit if possible.
https://courses.edx.org/courses/course-v1:PurdueX+CE597.1+1T2021/course/

Expected behaviour

It would say No downloadable video found.

Actual behaviour

image

@SNAnalyst
Copy link

I have the same issue

@ahmedabdellatif1
Copy link

i've tried all the previous fixes but nothing works

@ahmedabdellatif1
Copy link

image

anyone can update the parsing.py to match the new edx structure ?

image

@BeSa59
Copy link

BeSa59 commented Feb 27, 2021

Problem: No downloadable video found.

I cannot download anything from this course: https://courses.edx.org/courses/course-v1:LinuxFoundationX+LFS151.x+2T2020/course/

enviroment:

windows 10
edx_dl 0.1.13
Python 3.7.1
youtube-dl 2021.02.22

behavior

my steps:
step 1)
C:\Downloads\edx-dl_kurser>edx-dl -u [email protected] --list-courses
edx_dl version 0.1.13
Building initial headers for future requests.
Getting initial CSRF token.
Found CSRF token.
Logging into Open edX site: https://courses.edx.org/login_ajax
Extracting course information from dashboard.
You can access 6 courses
1 - Introduction to Cloud Infrastructure Technologies [course-v1:LinuxFoundationX+LFS151.x+2T2020/co]
https://courses.edx.org/courses/course-v1:LinuxFoundationX+LFS151.x+2T2020/course/
2 - Introduction to Java Programming: Starting to code in Java [course-v1:UC3Mx+IT.1.1x+3T_2018/co]
https://courses.edx.org/courses/course-v1:UC3Mx+IT.1.1x+3T_2018/course/
3 - Logic and Computational Thinking [course-v1:Microsoft+DEV262x+3T2018/co]
https://courses.edx.org/courses/course-v1:Microsoft+DEV262x+3T2018/course/
4 - Introduction to Python: Absolute Beginner [course-v1:Microsoft+DEV236x+3T2018/co]
https://courses.edx.org/courses/course-v1:Microsoft+DEV236x+3T2018/course/
5 - Querying Data with Transact-SQL [course-v1:Microsoft+DAT201x+4T2017/co]
https://courses.edx.org/courses/course-v1:Microsoft+DAT201x+4T2017/course/
6 - Introduction to Computer Science and Programming Using Python [course-v1:MITx+6.00.1x_8+1T2016/co]
https://courses.edx.org/courses/course-v1:MITx+6.00.1x_8+1T2016/course/

step 2) I try to download course nr. 1 in the list

C:\Downloads\edx-dl_kurser>edx-dl -u [email protected] https://courses.edx.org/courses/course-v1:LinuxFoundationX+LFS151.x+2T2020/course/ --debug
root[main] edx_dl version 0.1.13
root[parse_file_formats] file_formats: ['e?ps', 'pdf', 'txt', 'doc', 'xls', 'ppt', 'docx', 'xlsx', 'pptx', 'odt', 'ods', 'odp', 'odg', 'zip', 'rar', 'gz', 'mp3', 'R', 'Rmd', 'ipynb', 'py']
root[edx_get_headers] Building initial headers for future requests.
root[_get_initial_token] Getting initial CSRF token.
root[_get_initial_token] Found CSRF token.
root[edx_get_headers] Headers built: {'User-Agent': 'Mozilla/5.0', 'Accept': 'application/json, text/javascript, /; q=0.01', 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8', 'Referer': 'https://courses.edx.org/user_api/v1/account/login_session', 'X-Requested-With': 'XMLHttpRequest', 'X-CSRFToken': 'ddhuKEnyro0mxUqlpn7gqygh8BIPIWaNN9E4vxfl8gZbrrgEmawRkhCZTEjGMEWV'}
root[edx_login] Logging into Open edX site: https://courses.edx.org/login_ajax
root[get_courses_info] Extracting course information from dashboard.
root[get_courses_info] Data extracted: [Introduction to Cloud Infrastructure Technologies: https://courses.edx.org/courses/course-v1:LinuxFoundationX+LFS151.x+2T2020/course/, Introduction to Java Programming: Starting to code in Java: https://courses.edx.org/courses/course-v1:UC3Mx+IT.1.1x+3T_2018/course/, Logic and Computational Thinking: https://courses.edx.org/courses/course-v1:Microsoft+DEV262x+3T2018/course/, Introduction to Python: Absolute Beginner: https://courses.edx.org/courses/course-v1:Microsoft+DEV236x+3T2018/course/, Querying Data with Transact-SQL: https://courses.edx.org/courses/course-v1:Microsoft+DAT201x+4T2017/course/, Introduction to Computer Science and Programming Using Python: https://courses.edx.org/courses/course-v1:MITx+6.00.1x_8+1T2016/course/]
root[get_available_sections] Extracting sections for :https://courses.edx.org/courses/course-v1:LinuxFoundationX+LFS151.x+2T2020/course/
root[get_available_sections] Extracted sections: []
root[_display_selections] Downloading Introduction to Cloud Infrastructure Technologies [course-v1:LinuxFoundationX+LFS151.x+2T2020/co]
root[_display_sections] Downloading 0 section(s)
root[extract_all_units_in_parallel] Extracting all units information in parallel.
root[extract_all_units_in_parallel] urls: []
root[parse_units] No downloadable video found.

Nothing be downloaded.

@paulodaguero
Copy link

Had the same issue
Use this new downloader : https://github.com/rehmatworks/edx-downloader
made by @rehmatworks

@owaiss007
Copy link
Author

Had the same issue
Use this new downloader : https://github.com/rehmatworks/edx-downloader
made by @rehmatworks

Yeah it works, Thank You very much.

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

5 participants