Solvededx dl edx-dl not able to download videos from edx platform

🚨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

edx-dl fails to extract and download videos for "" on
it seems the videos for this course are sourced from "" and not youtube
Need help on resolving this issue

Your environment

  • Operating System (name/version):windows 10 Professional
  • Python version: 3.7.0
  • youtube-dl version: 2019.09.28
  • edx-dl version: 0.1.10

Steps to reproduce

--- create an account on Edx

--- enroll for the course ""

---- type the following into CMD
edx-dl -u username -p password -o path --ignore-errors --cache

Expected behaviour

download to start normally

Actual behaviour

edx_dl version 0.1.10
Building initial headers for future requests.
Getting initial CSRF token.
Found CSRF token.
Logging into Open edX site:
Extracting course information from dashboard.
Downloading Introduction to Predictive Analytics [course-v1:EdinburghX+PA1.1x+3T2019/co]
Downloading 0 section(s)
loading 2329 urls from cache [edx-dl.cache]
Extracting all units information in parallel.
No downloadable video found.

53 Answers

✔️Accepted Answer

Alright, quick fix:

replace as follows in /edx_dl/

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.

Other Answers:

i have empty folders i tried the codes above but doesn't work.

Having the same issue :(

Related Issues:

edx dl edx-dl not able to download videos from edx platform
Alright quick fix: replace as follows in /edx_dl/ Line 385: subsections_soup = section_so...
edx dl No longer downloading anything, only empty folder structure
I was having this issue with edX ( The following change seems to have fixed it but I...
edx dl Course Download Failure
I'm not an author of the tool but you can fix it by changing line 425 of which specifies t...
NewPipe YouTube subscriptions cannot be imported (seem to be exported as .csv now)
Also running into this I am using the latest version - 0.21.7 I checked but didn't find any duplicat...
coursera dl HTTPError: 400 Client Error: Bad Request for url:
If you don't mind a bit of hacking.. Login to Coursera once through the browser Find your installed ...
scdl HTTPError: 401 Client Error: Unauthorized for url
I also have this error but this fixed it: Have used scdl flawlessly before but now seem to be gettin...
instaloader Login error: JSON decode fail, 403 - Forbidden.
This seems to be a problem with retrieving the csrf token in line 214 of does ...
gallery dl Instagram stopped working
Should be fixed with 447488f Querying /p/<shortcode>/__a=1 for each post is what gets one blocked/ba...
imgbrd grabber E621 not loading content
@bwalker22 @lisiado5 If you still cannot see E621 in the sources Bug description No content from e62...
yt dlc [Broken] Youtube sometimes fails with "Unable to extract video data" for the same video.
Took a closer look at this issue Youtube is serving different page response depending on your accoun...
pyload Access pyload using nginx reverse proxy - 502 Bad Gateway
I can confirm that deleting the contents of jinja_cache solved the problem of wrong links being gene...
udemy dl Download of videos fails with URLError
The problem seems to be related to urllib I'm using Python3 BTW Crudely replacing it with a call to ...
gallery dl Questions, Feedback and Suggestions
This is actually a really good idea especially since I'm very hesitant/lazy about documenting things...
keras Loading model with custom loss function: ValueError: 'Unknown loss function'
I solved this problem by adding 'custom_bojects' my loss function: I trained and saved a model that ...
scrapy ' error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 '
@euler16 for scrapy with Python 3 you'll need with Python 2 you'll need I wanted to install scrapy i...
keras Tensorflow backend - bug in model._make_predict_function(...)
I had this problem when doing inference in a different thread than where I loaded my model ...
mysqlclient Can't install mysqlclient on MacOS
You can set ssl library path explicitly. Hi I'm on MacOSX Sierra ...
keras Creating Model variable throws "AttributeError: 'Tensor' object has no attribute '_keras_history'"
@zaid478 oh I assumed you were doing it on coursera Anyway Hello all setup: Keras 2.0 Tensorflow 1.0...
tensorflow ImportError: cannot open shared object file: No such file or directory
@rhinsall I just found this out myself not sure if it's common knowledge but got around this by doin...
ipython Last jedi release (0.18.0) is incompatible with ipython (7.19 and 7.18 tested); reason - column arg was deprecated, and now removed
As a temporary fix for anyone just trying to get things working again: It would be really nice if yo...
pyodbc pip install pyodbc failing: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
src/pyodbc.h:56:17: fatal error: sql.h: No such file or directory #include <sql.h> ^ Your machine do...
keras "<tensor> is not an element of this graph." when loading model.
I had a problem similar to that of @piraka9011 which was solved by calling model._make_predict_funct...
psycopg2 psycopg2-binary fails to install on macOS Big Sur 11.0.1 and Python 3.9.0 (with possible workaround)
Actually figured it out Haven't worked on a Mac in a while and forgot about the PostgreSQL dependenc...
pytorch I can't import PyTorch, libomp.dylib can't be loaded.
brew install libomp solves the problem. 🐛 Bug I tried to install PyTorch but I can't use it ...
pytorch RuntimeError: cuda runtime error (59) : device-side assert triggered when running transfer_learning_tutorial
@soumith Hi I find the error it is due to my labels contain value -1 which is unacceptable in criter...
Zappa bad magic number in 'application': b'\x03\xf3\r\n': ImportError
I was able to fix this too by doing find -name \*.pyc -delete Mine definitely wasn't caused by PY2 -...
tensorflow At Runtime : "Error while reading resource variable softmax/kernel from Container: localhost"
I had the same issue in tensorflow 1.13.1 which I have resolved by creating a reference to the sessi...
tensorflow Mac + Python 3.6.1: Attempting to download mnist data results in CERTIFICATE_VERIFY_FAILED error
This might have also been because I recently switched to a new machine and it's still only partially...
pyenv WARNING: pyenv init - no longer sets PATH.
I saw the same message on an RH derivative Linux using bash 4.4.19 To resolve After running pyenv up...
pyenv unable to install python 3.8.0 on macox 11
Try to install brew reinstall zlib bzip2 and in the ~/.zshrc file add the following: in case you are...
psutil psutil fails to install on python3.6 and Ubuntu16.04
I was just about to comment the same after I read the install file:
psycopg2 Installing psycopg2-binary with Python:3.6.4-alpine doesn't work
I found this solution which worked quite fine Edit The above compiles the package from source so I w...
pyenv Unable to build Python on macOS Big Sur with Xcode 12 beta
Thank you HomeBrew team for all the hard work you did to find the patch that python team is brewing ...
Pillow ImportError: cannot import name 'PILLOW_VERSION' from 'PIL' (unknown location)
I'm getting the same error right now after conda install pillow on Win 10 It installed pillow 6.2.1 ...
pip ImportError in system pip wrappers after an upgrade
I followed some instructions elsewhere and ran and hit upon this issue fixed it returning me to the ...
tensorflow UnrecognizedFlagError: Unknown command line flag 'f'
I solved this issue by adding the line:'f' '' 'kernel') what this essent...
tensorflow FutureWarning: Deprecated numpy API calls in tf.python.framework.dtypes
@Akeaakar And for the time being pip install numpy<1.17 to revert to numpy version 1.16.4 ...
certbot Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA
Unfortunately My operating system is (include version): Ubuntu 16.04 I installed Certbot with (certb...
pyinstaller TypeError: an integer is required (got type bytes) when compiling any script
pip install Direct install the lat...
287 Sphinx error: master file [..]/checkouts/latest/contents.rst not found
Encountered the same problem here I'm using sphinx 2.0.1 I’m still new to and have n...
277 Cannot connect to host certificate verify failed
I looked into this some more Apparently 3.6 changed the installation process on OS X ...
tensorflow ERROR: Cannot uninstall 'wrapt'. during upgrade
This worked for me: pip install wrapt --upgrade --ignore-installed pip install tensorflow ...
tqdm Jupyterlab and tqdm_notebook
I confirm this problem on my environment but it is upstream so IMHO nothing can be done on tqdm Plea...
virtualenv Error creating virtualenv with python3.6
The original poster's problem is due to not having the 'python3.6-venv' package installed ...
pip pip 18.0 install fails with AttributeError: 'NoneType' object has no attribute 'bytes'
try: python -m pip install -U --force-reinstall pip inside your venv Environment pip version: 10.0.1...
pytorch ModuleNotFoundError: No module named 'torch._C'
Solution the problem is that you have a folder called torch in the same directory which is being pic...
tensorflow Keras application - Tensor is not an element of this graph on eval after train
K.clear_session() did not work for me however what worked was : While predicting use the same graph ...
pip ImportError: cannot import name 'sysconfig' (Ubuntu 16.04)
I also saw a similar error However by installing python3-distutils it was possible to avoid this err...
pyenv Install failed, "zlib not available" on macOS Mojave
Solved it by running: sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_hea...