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.93k stars 641 forks source link

No longer downloading anything, only empty folder structure #587

Closed numlockkey closed 4 years ago

numlockkey commented 4 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

No longer downloads any files, only empty folder structure

Your environment

Steps to reproduce

https://courses.edx.org/courses/course-v1:HKUSTx+ELEC3500.1x+1T2020/course/

Expected behaviour

It should download the entire course

Actual behaviour

Doesn't download any files, only empty folder structure

danielx11 commented 4 years ago

hm... I dont get it 😂

do I have to use another command? I use this: edx-dl -u [USER] [COURSE URL]

sevillachea commented 4 years ago

@danielx11 did u replace the parsing.py file in the edx-dl module?

danielx11 commented 4 years ago

@danielx11 did u replace the parsing.py file in the edx-dl module?

yes, here : edx_dl/parsing.py

sevillachea commented 4 years ago

hm, are you checking the right folder? because I enrolled in the course you specified (Marketing Management) and I've managed to download the files.

sevillachea commented 4 years ago

@danielx11 maybe you can share what it shows on the terminal? is it processing at all?

danielx11 commented 4 years ago

hm, are you checking the right folder? because I enrolled in the course you specified (Marketing Management) and I've managed to download the files.

yes.... But Now I see the downloaded folder does contain the folders created after downloading. But still empty

danielx11 commented 4 years ago

@danielx11 maybe you can share what it shows on the terminal? is it processing at all?

(MAC OS Catalina)

Sure:

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 Marketing Management [course-v1:USMx+BUMM612+1T2020/co] Downloading 9 section(s) Section 1: Welcome to Marketing Management Section 2: Module 1: Know Your Customer Section 3: Module 2: Getting Strategy Right Section 4: Module 3: Ensure Your Products Deliver on Strategy Section 5: Module 4: Leverage Promotion and Branding Like a Pro Section 6: Module 5: Making Smart Decisions About Place Section 7: Live Session Section 8: Module 6: Conquer Pricing Strategy Section 9: Module 7: Keeping a Customer Centered Approach Extracting all units information in parallel. Removed 0 duplicated urls from 0 in total Output directory: Downloaded

DarthVi commented 4 years ago

Same for me, still empty folder structure on this course https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/course/ This is the output:

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 Computer Hardware and Operating Systems [course-v1:NYUx+FCS.OS.1+1T2020/co]
Downloading 6 section(s)
Section  1: Welcome and Syllabus
  Welcome and Syllabus
  Discussion
Section  2: Lecture
  Lecture
  Quiz
  Discussion
Section  3: Lecture
  Lecture
  Quiz
  Discussion
Section  4: Lecture
  Lecture
  Quiz
  Discussion
Section  5: Lecture
  Lecture
  Quiz
  Discussion
Section  6: Lecture
  Lecture
  Quiz
  Discussion
Extracting all units information in parallel.
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@bb0889877ed34854a6138cec657f27b6'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@400332f1c40448e1adcb5b24c366bbc9'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@fb6c5add7a3a49a69103337db7dcc2cd'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@eeef51e44b8642a7a8992ba929827ec2'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@e002a65c849a409fb4598d5016ced009'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@c143e765cfa74c46932d69ab69dd0eba'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@865d4fff89094cca8fd385648916f996'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@645f8b1ac0c84b09802a496040a52373'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@22abfc3931da4949b5d54e8355a22a6d'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@0fb4a83ea1f643e59f6fb02f9b4112da'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@9bae9b4b538f4adea9219a2367697853'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@09bf9162d9e84b1486897ff14d89203a'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@fa46689358c64dc69af6748b4235ba6f'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@1bf9678a638a472cbba7065753d8856d'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@764a089c1d9f429ebee4d0db8116026d'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@9fd5159041a0459aac2155aea19bfc92'
Processing 'https://courses.edx.org/courses/course-v1:NYUx+FCS.OS.1+1T2020/jump_to/block-v1:NYUx+FCS.OS.1+1T2020+type@sequential+block@fece20747d7b4797ab557b299f41b3fb'
Removed 0 duplicated urls from 0 in total
Output directory: Downloaded
danielx11 commented 4 years ago

hm, are you checking the right folder? because I enrolled in the course you specified (Marketing Management) and I've managed to download the files.

would you provide an cloud-download for me? :)

hhankj2u commented 4 years ago

@danielx11 I try to download your course with @bi1yeu 's fix and everything work. Try to clone edx-dl source code and do manually install.

iemejia commented 4 years ago

Guys have not had yet to tackle this, but great to see action going on, PRs are welcome ! Hope to get back to this soon.

danielx11 commented 4 years ago

@danielx11 I try to download your course with @bi1yeu 's fix and everything work. Try to clone edx-dl source code and do manually install.

I appreciate your help. I have already tried that... same issue :(

Oshibuki commented 4 years ago

hm... I dont get it 😂

do I have to use another command? I use this: edx-dl -u [USER] [COURSE URL]

you should change folder to source code folder,then run this : python3 edx-dl.py -u your-account course-url when you run "edx-dl -u [USER] [COURSE URL]",you just run the wrong binary edition

danielx11 commented 4 years ago

hm... I dont get it 😂 do I have to use another command? I use this: edx-dl -u [USER] [COURSE URL]

you should change folder to source code folder,then run this : python3 edx-dl.py -u your-account course-url when you run "edx-dl -u [USER] [COURSE URL]",you just run the wrong binary edition

YES! Thanks a lot. That was the actual problem. Now it works :) However, I only get two PDFs and several folders called overview with just videos. Different to the empty folders – they were structures and named correctly. But with this file: https://github.com/Crystyx/parsing.py AND the correct way to run the app it works fine.

Just to be clear: I only get the embedded content of the course and not the text on the pages – is that correct? So I will need to copy and paste the text additionally?

Oshibuki commented 4 years ago

hm... I dont get it 😂 do I have to use another command? I use this: edx-dl -u [USER] [COURSE URL]

you should change folder to source code folder,then run this : python3 edx-dl.py -u your-account course-url when you run "edx-dl -u [USER] [COURSE URL]",you just run the wrong binary edition

YES! Thanks a lot. That was the actual problem. Now it works :) However, I only get two PDFs and several folders called overview with just videos. Different to the empty folders – they were structures and named correctly. But with this file: https://github.com/Crystyx/parsing.py AND the correct way to run the app it works fine.

Just to be clear: I only get the embedded content of the course and not the text on the pages – is that correct? So I will need to copy and paste the text additionally?

I don't know……when I download other course, it only could videos,source code zip,pdf files,subtitles.I think download the text on pages is impossible.

crashoverburn commented 4 years ago

working now for me with python edx-dl.py


From: singleDog notifications@github.com Sent: Friday, February 21, 2020 2:25 PM To: coursera-dl/edx-dl edx-dl@noreply.github.com Cc: crashoverburn maiquelrinco@hotmail.com; Comment comment@noreply.github.com Subject: Re: [coursera-dl/edx-dl] No longer downloading anything, only empty folder structure (#587)

hm... I dont get it 😂 do I have to use another command? I use this: edx-dl -u [USER] [COURSE URL]

you should change folder to source code folder,then run this : python3 edx-dl.py -u your-account course-url when you run "edx-dl -u [USER] [COURSE URL]",you just run the wrong binary edition

YES! Thanks a lot. That was the actual problem. Now it works :) However, I only get two PDFs and several folders called overview with just videos. Different to the empty folders – they were structures and named correctly. But with this file: https://github.com/Crystyx/parsing.py AND the correct way to run the app it works fine.

Just to be clear: I only get the embedded content of the course and not the text on the pages – is that correct? So I will need to copy and paste the text additionally?

I don't know……when I download other course, it only could videos,source code zip,pdf files,subtitles.I think download the text on pages is impossible.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/coursera-dl/edx-dl/issues/587?email_source=notifications&email_token=AF2POIBGK2JQBMAMVGMAZATRD7P5NA5CNFSM4KRS4X42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMS3UAY#issuecomment-589675011, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF2POIHMVEEMRN3RCPA7YETRD7P5NANCNFSM4KRS4X4Q.

dmagliano commented 4 years ago

Perfect! It seems to work. I´m on a very slow connection. So still downloading MP4.

Type: python edx-dl.py -u [username] [course url]

it works!!!

On Fri, Feb 21, 2020 at 3:39 PM crashoverburn notifications@github.com wrote:

working now for me with python edx-dl.py


From: singleDog notifications@github.com Sent: Friday, February 21, 2020 2:25 PM To: coursera-dl/edx-dl edx-dl@noreply.github.com Cc: crashoverburn maiquelrinco@hotmail.com; Comment < comment@noreply.github.com> Subject: Re: [coursera-dl/edx-dl] No longer downloading anything, only empty folder structure (#587)

hm... I dont get it 😂 do I have to use another command? I use this: edx-dl -u [USER] [COURSE URL]

you should change folder to source code folder,then run this : python3 edx-dl.py -u your-account course-url when you run "edx-dl -u [USER] [COURSE URL]",you just run the wrong binary edition

YES! Thanks a lot. That was the actual problem. Now it works :) However, I only get two PDFs and several folders called overview with just videos. Different to the empty folders – they were structures and named correctly. But with this file: https://github.com/Crystyx/parsing.py AND the correct way to run the app it works fine.

Just to be clear: I only get the embedded content of the course and not the text on the pages – is that correct? So I will need to copy and paste the text additionally?

I don't know……when I download other course, it only could videos,source code zip,pdf files,subtitles.I think download the text on pages is impossible.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub< https://github.com/coursera-dl/edx-dl/issues/587?email_source=notifications&email_token=AF2POIBGK2JQBMAMVGMAZATRD7P5NA5CNFSM4KRS4X42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMS3UAY#issuecomment-589675011>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AF2POIHMVEEMRN3RCPA7YETRD7P5NANCNFSM4KRS4X4Q>.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/coursera-dl/edx-dl/issues/587?email_source=notifications&email_token=AN5CFAQGDNHEAU6B2MEEUNLREANWNA5CNFSM4KRS4X42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMTVOLQ#issuecomment-589780782, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN5CFATH36Z5FOFIZ5ZS3WDREANWNANCNFSM4KRS4X4Q .

econwalter23 commented 4 years ago

sorry I am new at this, what do you exactly mean when you say: CHANGE FOLDER TO SOURCE CODE FOLDER

El vie., 21 feb. 2020 a las 15:36, Yuri Bochkarev (notifications@github.com) escribió:

Closed #587 https://github.com/coursera-dl/edx-dl/issues/587 via #588 https://github.com/coursera-dl/edx-dl/pull/588.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/coursera-dl/edx-dl/issues/587?email_source=notifications&email_token=AOPC4WBHXDR3AE2G2HGHOQLREA3K7A5CNFSM4KRS4X42YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWZ77P6A#event-3061839864, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOPC4WE2TDNNASQAWPUCM5LREA3K7ANCNFSM4KRS4X4Q .

-- Atentamente, Walter Milen Ruelas Huanca

Oshibuki commented 4 years ago

抱歉,我是新来的,当您说:将文件夹更改为源代码文件夹时,您的确切意思是2月21日,埃尔维尔。2020年15点36分,尤里·博卡卡列夫(notifications@github.com 通过#588 < #588 > 关闭#587 < #587 >。—因为评论,您收到此消息。回复此电子邮件直接,查看它在GitHub < #587?email_source =通知&email_token = AOPC4WBHXDR3AE2G2HGHOQLREA3K7A5CNFSM4KRS4X42YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWZ77P6A#事件3061839864>,或取消订阅< https://github.com/notifications/unsubscribe-auth/AOPC4WE2TDNNASQAWPUCM5LREA3K7ANCNFSM4KRS4X4Q >。 -Atentamente,Walter Milen Ruelas Huanca

first open cmd (windows) or terminal (linux or mac), you could download souce code with "git clone https://github.com/coursera-dl/edx-dl.git",then there is a folder named "edx-dl". run this:

cd edx-dl
python3 edx-dl.py -u your-account course-url
dmagliano commented 4 years ago

try "python edx-dl.py ... etc etc" if python3 doens´t work. Mine worked with python.

On Fri, Feb 21, 2020 at 10:09 PM singleDog notifications@github.com wrote:

抱歉,我是新来的,当您说:将文件夹更改为源代码文件夹时,您的确切意思是2月21日,埃尔维尔。2020年15点36分,尤里·博卡卡列夫( notifications@github.com) … <#m-268619700754803964> 通过#588 https://github.com/coursera-dl/edx-dl/pull/588 < #588 https://github.com/coursera-dl/edx-dl/pull/588 > 关闭#587 https://github.com/coursera-dl/edx-dl/issues/587 < #587 https://github.com/coursera-dl/edx-dl/issues/587

。—因为评论,您收到此消息。回复此电子邮件直接,查看它在GitHub < #587 https://github.com/coursera-dl/edx-dl/issues/587?email_source =通知&email_token = AOPC4WBHXDR3AE2G2HGHOQLREA3K7A5CNFSM4KRS4X42YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWZ77P6A#事件3061839864>,或取消订阅<

https://github.com/notifications/unsubscribe-auth/AOPC4WE2TDNNASQAWPUCM5LREA3K7ANCNFSM4KRS4X4Q

https://github.com/coursera-dl/edx-dl/pull/588 https://github.com/coursera-dl/edx-dl/pull/588 https://github.com/coursera-dl/edx-dl/issues/587 https://github.com/notifications/unsubscribe-auth/AOPC4WE2TDNNASQAWPUCM5LREA3K7ANCNFSM4KRS4X4Q -Atentamente,Walter Milen Ruelas Huanca

first open cmd (windows) or terminal (linux or mac), you could download souce code with "git clone https://github.com/coursera-dl/edx-dl.git",then there is a folder named "edx-dl". run this:

cd edx-dl

python3 edx-dl.py -u your-account course-url

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/coursera-dl/edx-dl/issues/587?email_source=notifications&email_token=AN5CFAQJCOKRU54V7DTB6H3REB3LXA5CNFSM4KRS4X42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMUSJNQ#issuecomment-589898934, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN5CFARFJFYWFWCAMKOKVMLREB3LXANCNFSM4KRS4X4Q .

econwalter23 commented 4 years ago

thanks a lot, it worked with python

El vie., 21 feb. 2020 a las 21:24, Diogo Magliano (notifications@github.com) escribió:

try "python edx-dl.py ... etc etc" if python3 doens´t work. Mine worked with python.

On Fri, Feb 21, 2020 at 10:09 PM singleDog notifications@github.com wrote:

抱歉,我是新来的,当您说:将文件夹更改为源代码文件夹时,您的确切意思是2月21日,埃尔维尔。2020年15点36分,尤里·博卡卡列夫( notifications@github.com) … <#m-268619700754803964> 通过#588 https://github.com/coursera-dl/edx-dl/pull/588 < #588 https://github.com/coursera-dl/edx-dl/pull/588 > 关闭#587 https://github.com/coursera-dl/edx-dl/issues/587 < #587 https://github.com/coursera-dl/edx-dl/issues/587

。—因为评论,您收到此消息。回复此电子邮件直接,查看它在GitHub < #587 https://github.com/coursera-dl/edx-dl/issues/587?email_source =通知&email_token =

AOPC4WBHXDR3AE2G2HGHOQLREA3K7A5CNFSM4KRS4X42YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWZ77P6A#事件3061839864>,或取消订阅<

https://github.com/notifications/unsubscribe-auth/AOPC4WE2TDNNASQAWPUCM5LREA3K7ANCNFSM4KRS4X4Q

https://github.com/coursera-dl/edx-dl/pull/588 https://github.com/coursera-dl/edx-dl/pull/588 https://github.com/coursera-dl/edx-dl/issues/587 < https://github.com/notifications/unsubscribe-auth/AOPC4WE2TDNNASQAWPUCM5LREA3K7ANCNFSM4KRS4X4Q

-Atentamente,Walter Milen Ruelas Huanca

first open cmd (windows) or terminal (linux or mac), you could download souce code with "git clone https://github.com/coursera-dl/edx-dl.git ",then there is a folder named "edx-dl". run this:

cd edx-dl

python3 edx-dl.py -u your-account course-url

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/coursera-dl/edx-dl/issues/587?email_source=notifications&email_token=AN5CFAQJCOKRU54V7DTB6H3REB3LXA5CNFSM4KRS4X42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMUSJNQ#issuecomment-589898934 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AN5CFARFJFYWFWCAMKOKVMLREB3LXANCNFSM4KRS4X4Q

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/coursera-dl/edx-dl/issues/587?email_source=notifications&email_token=AOPC4WFYNMREUGO3VAULFNDRECEF3A5CNFSM4KRS4X42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMUUNWY#issuecomment-589907675, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOPC4WBMFCB67KIHPOL234TRECEF3ANCNFSM4KRS4X4Q .

-- Atentamente, Walter Milen Ruelas Huanca

KrisCherukuri commented 4 years ago

try "python edx-dl.py ... etc etc" if python3 doens´t work. Mine worked with python. On Fri, Feb 21, 2020 at 10:09 PM singleDog @.> wrote: 抱歉,我是新来的,当您说:将文件夹更改为源代码文件夹时,您的确切意思是2月21日,埃尔维尔。2020年15点36分,尤里·博卡卡列夫( @.) … <#m-268619700754803964> 通过#588 <#588> < #588 <#588> > 关闭#587 <#587> < #587 <#587> >。—因为评论,您收到此消息。回复此电子邮件直接,查看它在GitHub < #587 <#587>?email_source =通知&email_token = AOPC4WBHXDR3AE2G2HGHOQLREA3K7A5CNFSM4KRS4X42YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWZ77P6A#事件3061839864>,或取消订阅< https://github.com/notifications/unsubscribe-auth/AOPC4WE2TDNNASQAWPUCM5LREA3K7ANCNFSM4KRS4X4Q >。 <#588> <#588> <#587> https://github.com/notifications/unsubscribe-auth/AOPC4WE2TDNNASQAWPUCM5LREA3K7ANCNFSM4KRS4X4Q -Atentamente,Walter Milen Ruelas Huanca first open cmd (windows) or terminal (linux or mac), you could download souce code with "git clone https://github.com/coursera-dl/edx-dl.git",then there is a folder named "edx-dl". run this: cd edx-dl python3 edx-dl.py -u your-account course-url — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#587?email_source=notifications&email_token=AN5CFAQJCOKRU54V7DTB6H3REB3LXA5CNFSM4KRS4X42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMUSJNQ#issuecomment-589898934>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN5CFARFJFYWFWCAMKOKVMLREB3LXANCNFSM4KRS4X4Q .

Couldn't able to download evening after cloning edx-dl and using the above command. Please suggest me where I went wrong

C:\Users\Kishore\edx-dl>python edx-dl.py -u my_email@gmail.com -x stanford https://lagunita.stanford.edu/courses/DB/SQL/SelfPaced/course/ 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://lagunita.stanford.edu/login_ajax Extracting course information from dashboard. Traceback (most recent call last): File "edx-dl.py", line 8, in edx_dl.main() File "C:\Users\Kishore\edx-dl\edx_dl\edx_dl.py", line 1028, in main for selected_course in selected_courses} File "C:\Users\Kishore\edx-dl\edx_dl\edx_dl.py", line 1028, in for selected_course in selected_courses} File "C:\Users\Kishore\edx-dl\edx_dl\edx_dl.py", line 186, in get_available_sections sections = page_extractor.extract_sections_from_html(page, BASE_URL) File "C:\Users\Kishore\edx-dl\edx_dl\parsing.py", line 403, in extract_sections_from_html for i, section_soup in enumerate(sections_soup, 1)] File "C:\Users\Kishore\edx-dl\edx_dl\parsing.py", line 403, in for i, section_soup in enumerate(sections_soup, 1)] File "C:\Users\Kishore\edx-dl\edx_dl\parsing.py", line 392, in _make_subsections for i, s in enumerate(subsections_soup, 1)] File "C:\Users\Kishore\edx-dl\edx_dl\parsing.py", line 392, in for i, s in enumerate(subsections_soup, 1)] AttributeError: 'NoneType' object has no attribute 'string'

Silverfoxcome commented 4 years ago

hm... I dont get it joy do I have to use another command? I use this: edx-dl -u [USER] [COURSE URL]

you should change folder to source code folder,then run this : python3 edx-dl.py -u your-account course-url when you run "edx-dl -u [USER] [COURSE URL]",you just run the wrong binary edition

For this course: https://courses.edx.org/courses/course-v1:W3Cx+HTML5.0x+1T2020/course/ In linux, and using the parsing.py from Crystyx, I ran from the source folder in that way but I get this error:

Traceback (most recent call last): File "edx_dl.py", line 33, in <module> from ._version import __version__ ModuleNotFoundError: No module named '__main__._version'; '__main__' is not a package

When I tried only with python: python edx_dl.py -u [USER] [COURSE URL]

I got this error (very similar): Traceback (most recent call last): File "edx_dl.py", line 33, in <module> from ._version import __version__ ValueError: Attempted relative import in non-package

Crystyx commented 4 years ago

@Silverfoxcome: I can try to download the course and share it, would this help you?

Silverfoxcome commented 4 years ago

@Silverfoxcome: I can try to download the course and share it, would this help you?

It would help a lot ToT! Thank you! If it works for you, please, can you tell me how did you do it? I'm very curious about this issue and if there is a way to download the videos in edx with the new changes they have put.

Again, thanks a lot!

Learnpython-code commented 3 years ago

Hello everyone, I am new with python, Please help checking my results, I dont got any videos , only folders empty.

Result

C:\edx-dl-master>python edx-dl.py -u (username) https://courses.edx.org/courses/coursev1:URosarioX+URX01+1T2020/course/ 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. Downloading Diseño de sistemas de información gerencial para intranet con Micros oft Access [course-v1:URosarioX+URX01+1T2020/co] Downloading 5 section(s) Section 1: Generalidades Acerca del curso Section 2: Microsoft Access y Bases de Datos Relacionales Conceptos básicos Planear y crear una BDR Evaluación Section 3: Diseño de la interface - Consultas Visualizar información Modificar la BDR con consultas de acción Interacción con otros programas Evaluación Section 4: Diseño de la interface - Formularios y macros Ingresar datos a la BDR Panel de control personalizado Evaluación Section 5: Diseño de la interface - Informes Informes Evaluación Cierre Extracting all units information in parallel. Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@ddbbb4394e4f4eeab5716 95c19842fc2' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@edcc3663b92546ee9f37d 4868d05ba30' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@7a917180012346c8b7f1d e5837729bbd' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@fdb672aa18b0485aa6954 19f493a5fd0' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@5b34eb36e50a4db6a9c4c 53e719546cf' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@c78e301110b54cff8a850 0c784e16d09' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@fcd257068abb4f588805d b3a15e0ba06' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@9205182f4d2b46ec93fd6 ff22d752fa6' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@f9a2c97a613a40169a016 67bb6aca2be' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@30549607116847379bc57 b4419084652' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@09f8ee9e3295491495749 4d87da8a4bc' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@674fda5e810440f190d84 9740e674cae' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@fe847e5e361b47a3a3efd 82f480b2a4e' Processing 'https://courses.edx.org/courses/course-v1:URosarioX+URX01+1T2020/jum p_to/block-v1:URosarioX+URX01+1T2020+type@sequential+block@29c2dfb8e8294eed941ee 3b576db59c8' Removed 0 duplicated urls from 0 in total Output directory: Downloaded

rangerisrael commented 3 years ago

Hello everyone i want to download my course on edx.org site but i got empty folder ,it there a solution to fix this problem?

ahsanfarooqui commented 3 years ago

Facing same issue. I am using version 0.1.13 via Anaconda on a Windows Machine.

iemejia commented 3 years ago

Hello, I was for long time the maintainer of this project, but I have less time available now. If anyone wants to bring fixes (or if there are some unreviewed ones) please ping me and I will do my best to review/merge/release them. Remember this is open source and build by all of us so please some help is needed we need more hands/brains to work on this.

rangerisrael commented 3 years ago

hello i already fixed my problem i used 1.1.0 edx dll 3.7 python version im dowload a 3 project now but the problem but the lasting i download its corrupted file

On Thu, Jan 21, 2021, 4:37 PM Ismaël Mejía notifications@github.com wrote:

Hello, I was for long time the maintainer of this project, but I have less time available now. If anyone wants to bring fixes (or if there are some unreviewed ones) please ping me and I will do my best to review/merge/release them. Remember this is open source and build by all of us so please some help is needed we need more hands/brains to work on this.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/coursera-dl/edx-dl/issues/587#issuecomment-764473770, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJDUU4D3BNFZSAQK5DGFRNTS27RWDANCNFSM4KRS4X4Q .