-
Notifications
You must be signed in to change notification settings - Fork 638
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
HTTP 403 forbidden #631
Comments
+1 |
Same issue here |
I'm not an author of the tool, but you can fix it by changing line 425 of |
Cool! It works @THolding |
Hi, It is the same issue as #628. Should we do a PR with that fix? Kind regards |
Hi, the following worked to me:
Also, I had open the course page using the web broswer (Chrome). I dont know if these steps have any inlfuence in the process. |
I have tried all the changes recommended on 425 in edx_dll.py and Parser.Py. Still no luck. |
Thank you @THolding, tried your solution and it partially worked for me as well. But then at last, after downloading two modules it broke with the message 'returned non-zero exit status 1.' Any helpful hints or fixes ? Not that I'm an expert myself but @munipr , @laurion, @chss, @floviolleau & @totyped, try and put in the the name & version of the browser (in my case 'User-Agent':'Chrome/84.0.4147.105') you've your courses opened with and it should be fixed ? |
+1 |
Thanks it works |
hi i am trying to run edx_dl.py to do as you have mentioned but a i run edx_dl.py by command prompt it say, this |
Just looked up the reference and come up with this. The error might have to do with the version of python you're using. Inside the README.md here reads > We strongly recommend that, if you don't already have a Python interpreter installed, that you install Python >= 3.6, if possible, since it is better in general. |
THANK you so much. |
Any hope for quiz or assignments? |
Same issue here! Extracting course information from dashboard. |
Where can I find this edx_dl.py file in Linux? |
@YediPublic - I don't use Linux, so I'm not familiar but it should be under |
@YediPublic - When you got the failure message, you must have see a few lines like this on your terminal
In the above case, the path to the file that you want to edit is |
Is there any solution to this? I tried to download https://courses.edx.org/courses/course-v1:WellesleyX+Italian1x+1T2019/course/ but always get empty folders |
@Luciano-Delaude I just come across this link where @bi1yeu 's solution seems to have fixed the same issue for a couple of others. Had this issue myself but gonna have to give this a shot later yet |
I tried to use that solution but it didn't worked either, I just get an empty folder with that too. If you can fix it, please let me know |
Same here |
Exactly the same here. I've tried all solutions suggested and still no dice. |
yes, I have the same problem fater using this solution |
Same issue - tried all the solutions suggested here and no luck |
Same here, I had tried change |
Hi everyone, Great information and thank you to the rock starts that contributed. Quick question if anyone knows please? I'm enrolled in an edX course, but it's the free version (auditing). I've got the edx-dl and python setup and after running it from the command line, it stated no downloadable content found. Am I correct in thinking this is setup and running correctly and because I'm auditing the course (for free), that I won't be able to save any of the content? |
No, free auditable courses should be downloadable too (if you can play the videos in your browser). Most likely edx changed their layout that broke the downloader. |
Here's the output I got: edx_dl version 0.1.13 |
I think I got the same error. I tried applying a few patches suggested on this thread to my local fork and gave up for the time being. Download from the website with videodownloadhelper generally works fine. |
I also got the "No downloadable video found." error. |
Hi, I change the line, but another error: Building initial headers for future requests. can you help me? |
I am getting the following error for past 3 days. I have the latest edx-dl and youtube-dl installed in an environment with python 3.7
edx_dl version 0.1.13
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.
Traceback (most recent call last):
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\Scripts\edx-dl.exe_main.py", line 9, in
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\edx_dl\edx_dl.py", line 1023, in main
for selected_course in selected_courses}
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\edx_dl\edx_dl.py", line 1023, in
for selected_course in selected_courses}
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\edx_dl\edx_dl.py", line 184, in get_available_sections
page = get_page_contents(url, headers)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\edx_dl\utils.py", line 58, in get_page_contents
result = urlopen(Request(url, None, headers))
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\urllib\request.py", line 531, in open
response = meth(req, response)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\urllib\request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\urllib\request.py", line 569, in error
return self._call_chain(*args)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\urllib\request.py", line 503, in _call_chain
result = func(*args)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
The text was updated successfully, but these errors were encountered: