coursera-dl / edx-dl

A simple tool to download video lectures from edx.org (and other openedx sites)
GNU Lesser General Public License v3.0
1.92k stars 638 forks source link

No downloadable video found #667

Open owaiss007 opened 3 years ago

owaiss007 commented 3 years ago

🚨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

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 commented 3 years ago

I have the same issue

ahmedabdellatif1 commented 3 years ago

i've tried all the previous fixes but nothing works

ahmedabdellatif1 commented 3 years ago

image

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

image

BeSa59 commented 3 years ago

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 abc@yahoo.com --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 abc@yahoo.com 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 commented 3 years ago

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

owaiss007 commented 3 years ago

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

Yeah it works, Thank You very much.