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

edx-dl : No downloadable video found #670

Closed
sonu-666 opened this issue Mar 14, 2021 · 7 comments
Closed

edx-dl : No downloadable video found #670

sonu-666 opened this issue Mar 14, 2021 · 7 comments

Comments

@sonu-666
Copy link

Can't download edx course

No downloadable video found.
tried this
#559 (comment)
###replace as follows in /edx_dl/parsing.py:

Line 385:
subsections_soup = section_soup.find_all('li', class_='vertical outline-item focusable') with subsections_soup = section_soup.find_all('li', class_=['vertical outline-item focusable', 'vertical outline-item focusable scored'])

and line 397:

sections_soup = soup.find_all('li', class_='outline-item section') with sections_soup = soup.find_all('li', class_=['outline-item section', 'outline-item section scored'])

This should work for both the 'old' and new format. Will try to run some tests and create a merge request sometime this week.

but no use

edx-dl

  • Operating System (name/version): windows 10
  • Python version: latest
  • youtube-dl version: 0.1.12
  • edx-dl version: 0.1.12

Steps to reproduce

1 - Site Planning Online [course-v1:MITx+11.304x+2T2020/co]
https://courses.edx.org/courses/course-v1:MITx+11.304x+2T2020/course/

Expected behaviour

download the course

Actual behaviour

(base) C:\Users\sonu>edx-dl -u e************@gmail.com --list-courses
edx_dl version 0.1.12
Password:
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 1 courses
1 - Site Planning Online [course-v1:MITx+11.304x+2T2020/co]
https://courses.edx.org/courses/course-v1:MITx+11.304x+2T2020/course/

(base) C:\Users\sonu>edx-dl -u e***************@gmail.com https://courses.edx.org/courses/course-v1:MITx+11.304x+2T2020/course/
edx_dl version 0.1.12
Password:
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.
Downloading Site Planning Online [course-v1:MITx+11.304x+2T2020/co]
Downloading 0 section(s)
Extracting all units information in parallel.
No downloadable video found.

@MarwanShehata
Copy link

Same error

@ribvl
Copy link

ribvl commented Apr 6, 2021

Same error :/
edx-dl created all folders, but no files were downloaded.
Using edx-dl version 0.1.13 and youtube-dl 2021.2.22
Trying to save files from https://courses.edx.org/courses/course-v1:GTx+ISYE6501x+1T2021/course/

@asuragan
Copy link

Same error :/
edx-dl created all folders, but no files were downloaded.
Using edx-dl version 0.1.13 and youtube-dl 2021.2.22
Trying to save files from https://courses.edx.org/courses/course-v1:GTx+ISYE6501x+1T2021/course/

@ribvl edx-dl is based on youtube-dl, but edx videos are no longer on YouTube, but on their own server

@mor3dr3ad
Copy link

Same error :/
edx-dl created all folders, but no files were downloaded.
Using edx-dl version 0.1.13 and youtube-dl 2021.2.22
Trying to save files from https://courses.edx.org/courses/course-v1:GTx+ISYE6501x+1T2021/course/

@ribvl edx-dl is based on youtube-dl, but edx videos are no longer on YouTube, but on their own server

Well true that the files are now on the edx server. But then the code should still show downloadable sections and courses but fail when downloading. I think there must have been some changes in the html again.

Will try and have a look. the downloading of the files should actually be even easier: extract the link from html and then use wget/curl to download the video file directly..

@asuragan
Copy link

Same error :/
edx-dl created all folders, but no files were downloaded.
Using edx-dl version 0.1.13 and youtube-dl 2021.2.22
Trying to save files from https://courses.edx.org/courses/course-v1:GTx+ISYE6501x+1T2021/course/

@ribvl edx-dl is based on youtube-dl, but edx videos are no longer on YouTube, but on their own server

Well true that the files are now on the edx server. But then the code should still show downloadable sections and courses but fail when downloading. I think there must have been some changes in the html again.

Will try and have a look. the downloading of the files should actually be even easier: extract the link from html and then use wget/curl to download the video file directly..

Maybe it's because they changed the url from https://courses.edx.org/courses/course-v1:GTx+ISYE6501x+1T2021/course/ to https://learning.edx.org/course/course-v1:MITx+7.00x+1T2021/home

@floviolleau
Copy link

Hi,

You can try this project: https://github.com/rehmatworks/edx-downloader.

This project seems not maintained

@michalple
Copy link

Does anyone here have archived the course "Site Planning Online" and would care to share?

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

7 participants