Abracadabra

Coursera-dl plugin issues on Windows 10

I can't download the video ~

state: closed opened by: jenkey2011 on: 2017-05-04

I can't download the video ~

Your environment

  • win10
  • Python version : 3.6
  • coursera-dl version:0.8
  • PS:I'm from China……

    Steps to reproduce

    > coursera-dl -u xxx -p xxxx -b html-css-javascript

Then it works , but only the subtitles were downloaded ; And the cmd shows "The following URLs (64) could not be downloaded:" , they're all video links;

Comments


from: wanghoppe on: 2017-05-17

Me too have the issue…. Could someone help??

from: lvhuiyang on: 2017-05-18

I met the same problem yesterday.

I use the command `coursera-dl -u xx@xxx.com -p xxx course_name –wget` to solve it.

(env: Mac OS, wget, python3.6)

from: balta2ar on: 2017-05-18

Are you guys all from China? Did you try downloading over a VPN or Tor? If it's your government's firewall, we can't do anything about it, use proxies, VPNs and Tor.

from: jenkey2011 on: 2017-05-19

I guess so…… What a pity.

from: FBryce on: 2017-06-02

Hi, If you are from China, adding "52.84.246.72 d3c33hcgiwev3.cloudfront.net" in the host file and fresh dns with " ipconfig/flushdns" may work

from: wanghoppe on: 2017-06-02

@FBryce It worked! Thank you so much.

from: XiangBicheng on: 2017-07-28

@FBryce Nice! Thank you for useful information.

from: techlarry on: 2017-08-23

Good job @FBryce, I downloaded several courses manually because of the issue. It wasted me at least half day to download files….

from: balta2ar on: 2017-08-27

> Hi, If you are from China, adding "52.84.246.72 d3c33hcgiwev3.cloudfront.net" in the host file and fresh dns with " ipconfig/flushdns" may work

I've added your comment to the readme. Thanks! Closing.

from: wenxingxing on: 2017-12-26

It works, thanks~~

from: 1c7 on: 2018-09-22

image

Still work in 2018, Thanks!

from: shuoooo on: 2018-10-07

> Hi, If you are from China, adding "52.84.246.72 d3c33hcgiwev3.cloudfront.net" in the host file and fresh dns with " ipconfig/flushdns" may work

Works beautifully, thanks a lot

Could not authenticate: Cannot login on coursera.org: 400 Client Error: Bad Request for url: https://api.coursera.org/api/login/v3

state: closed opened by: jeet-parekh on: 2018-06-15

Subject of the issue

Running coursera-dl gives an error 400.

Your environment

  • Operating System (name/version): Windows 8.1
  • Python version: 3.6.5
  • coursera-dl version: 0.11.2

Steps to reproduce

I ran the command `coursera-dl -u myusername -p mypassword machine-learning`.

  • Is the problem happening with the latest version of the script?
    Yes.
  • Do you have all the recommended versions of the modules? See them in the
    file `requirements.txt`.
    Yes. I did a `pip install`.
  • What is the course that you are trying to access?
    machine-learning
  • What is the precise command line that you are using (don't forget to obfuscate
    your username and password, but leave all other information untouched).
    `coursera-dl -u myusername -p mypassword machine-learning`
  • What are the precise messages that you get? Please, use the `–debug`
    option before posting the messages as a bug report. Please, copy and paste
    them. Don't reword/paraphrase the messages.

```
root[main] coursera_dl version 0.11.2
root[main] Downloading class: machine-learning (1 / 1)
root[download_class] Downloading new style (on demand) class machine-learning
root[login] Initiating login.
root[login] There were no .coursera.org cookies to be cleared.
root[prepape_auth_headers] Forging cookie header: csrftoken=rgrpC7s9fPPIdLTaWeGA; csrf2_token_doUFgKoj=G39Y5Rvw4XFBwlb8W8cN5SEM.
urllib3.connectionpool[_new_conn] Starting new HTTPS connection (1): api.coursera.org
urllib3.connectionpool[_make_request] https://api.coursera.org:443 "POST /api/login/v3 HTTP/1.1" 400 None
root[main] Could not authenticate: Cannot login on coursera.org: 400 Client Error: Bad Request for url: https://api.coursera.org/api/login/v3
```

Expected behaviour

There would be no errors and the course would download.

Actual behaviour

The output given above.

Comments


from: jeet-parekh on: 2018-06-17

It worked when I used my email id as the user name.