Full log :
edx_dl version 0.1.2
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 "/bin/edx-dl", line 11, in
load_entry_point('edx-dl==0.1.2', 'console_scripts', 'edx-dl')()
File "/usr/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 1000, in main
courses = get_courses_info(DASHBOARD, headers)
File "/usr/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 140, in get_courses_info
page = get_page_contents(url, headers)
File "/usr/lib/python2.7/site-packages/edx_dl/utils.py", line 58, in get_page_contents
result = urlopen(Request(url, None, headers))
File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 1243, in https_open
context=self._context)
File "/usr/lib64/python2.7/urllib2.py", line 1200, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
I get this error: urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
I'm running: Fedora 25 Python 2.7.13 Python3 3.6.0 youtube-dl 2017.03.24 edx-dl 0.1.2
I'm not behind a proxy server and I tried to reinstall / update everything and tried a different version of edx-dl but nothing seems to work
The courses I've been trying to download copied from the command --list-courses: https://courses.edx.org/courses/course-v1:MITx+6.002.1x_1+2T2016/info https://courses.edx.org/courses/course-v1:BerkeleyX+EE40LX+2T2015/info
Full log : edx_dl version 0.1.2 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 "/bin/edx-dl", line 11, in
load_entry_point('edx-dl==0.1.2', 'console_scripts', 'edx-dl')()
File "/usr/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 1000, in main
courses = get_courses_info(DASHBOARD, headers)
File "/usr/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 140, in get_courses_info
page = get_page_contents(url, headers)
File "/usr/lib/python2.7/site-packages/edx_dl/utils.py", line 58, in get_page_contents
result = urlopen(Request(url, None, headers))
File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 1243, in https_open
context=self._context)
File "/usr/lib64/python2.7/urllib2.py", line 1200, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>