Commit graph

1117 commits

Author SHA1 Message Date
Vitaly Strizhenok
a59381c364 added CAUTH parameter for command line 2019-04-30 18:29:19 +03:00
Yuri Bochkarev
9b434bcf3c
Merge pull request #711 from KOLANICH/add-editorconfig
Added .editorconfig according to PEP8
2019-03-16 10:18:34 +03:00
KOLANICH
cb2dff804b
Added .editorconfig according to PEP8 2019-03-09 06:08:34 +00:00
Rogério Brito
81a24950fa
Upgrade urllib3 to version 1.23 or later.
This fixes the following security vulnerability:

https://nvd.nist.gov/vuln/detail/CVE-2018-20060

Thanks to GitHub's automated scan of vulnerable dependencies.
2019-02-14 23:09:34 -02:00
Yuri Bochkarev
a82edb924e fix urllib3==1.21.1 2018-06-24 15:15:30 +03:00
Yuri Bochkarev
fc40bcee13 Bump version (0.11.3 -> 0.11.4)
Features:
  - Do not expand class names if there is a specialization with the same name,
    but add --specialization flag to do that explicitly (#673)
2018-06-24 13:47:54 +03:00
Yuri Bochkarev
d95d0573bb Add --specialization flag to expand specialization names only when explicitly requested
This is because there are clashes in course and specialization names.
For example, "machine-learning" is both a course and a specialization
name. These are different courses from different universities (!).
2018-06-24 13:41:03 +03:00
Yuri Bochkarev
b505983263 update CONTRIBUTING.md and remove Python 2.6 from setup.py trove classifiers 2018-06-24 11:10:46 +03:00
Yuri Bochkarev
54316b2430 Bump version (0.11.2 -> 0.11.3)
Bugfixes:
  - Switch to newer API for syllabus and lecture retrieval (#665, #673, #634)

Features:
  - You can now download specializations: the child courses will be
    downloaded automatically
2018-06-24 11:05:23 +03:00
Yuri Bochkarev
dda61d2530
Merge pull request #677 from coursera-dl/new-api-for-syllabus-and-lectures
New api for syllabus and lectures
2018-06-24 10:59:47 +03:00
Yuri Bochkarev
f928dbf6c9 Update changelog 2018-06-24 10:43:07 +03:00
Yuri Bochkarev
ee614a576b 🔨 + 🔧 = 💄 2018-06-24 10:39:18 +03:00
Yuri Bochkarev
7420fa4631 Add support for specialization name in the arguments
Now specialization names can be passed and they will be
expanded: corresponding child classes will be downloaded.
2018-06-24 10:36:42 +03:00
Yuri Bochkarev
35a780ed68 Remove Python2.6 from Travis CI 2018-06-24 09:15:29 +03:00
Yuri Bochkarev
ad53c28961 Use OrderedDict in api.py 2018-06-24 09:10:30 +03:00
Yuri Bochkarev
95666a6fdf resolve merge conflicts 2018-06-24 00:28:25 +03:00
Yuri Bochkarev
d2467a7ae2 💄 autopep8 2018-06-24 00:10:22 +03:00
Yuri Bochkarev
3df019a661 Move to newer API for syllabus and lecture retrieval
ref #665
ref #673
ref #634
2018-06-24 00:09:31 +03:00
Richard Decal
b0d1cc0cff better error msg for incorrect .netrc permissions (#674) 2018-06-20 21:27:17 +03:00
John Doe
d17027da41 Typo (#672) 2018-06-17 20:36:53 +03:00
John Doe
5bc5cd9c77 Typo (#671) 2018-06-17 09:42:36 +03:00
Yuri Bochkarev
e788aed798 Update TOC in README.md 2018-06-12 20:14:19 +03:00
Yuri Bochkarev
ad61d52a5b Mention that username is email address in command-line options
fix #625
2018-06-11 18:16:09 +03:00
Yuri Bochkarev
98e4c14106 autopep8 + trailing spaces 2018-06-11 18:14:48 +03:00
Yuri Bochkarev
ef3268677e Update Dockerfile to use Python3.6 and install from PyPI package
Also update README and CONTRIBUTING guides with the information
on how to build and run Docker image.
2018-06-10 01:33:39 +03:00
Yuri Bochkarev
26d6d332c2
Merge pull request #629 from opsxcq/master
Restructure docker image for coursera-dl
2018-06-10 00:33:53 +03:00
Yuri Bochkarev
45824ef4b8 autopep8 2018-06-09 23:07:05 +03:00
Yuri Bochkarev
de2ba5bdce Add comment about split('/') in _get_notebook_folder 2018-06-09 23:06:23 +03:00
Yuri Bochkarev
13ae2f1e9b
Merge pull request #654 from noureddin/clean-filenames
Improve and use clean_filename in _get_notebook_folder
2018-06-09 23:00:56 +03:00
Yuri Bochkarev
88832628b7 Add Python 3.6 to appveyor 2018-06-09 22:38:59 +03:00
Yuri Bochkarev
0327015be9 Drop Python 2.6 from matrix build in appveyor
I think it's time we bury this stewardess already.
Python 2.6 is not supported even by core Python team.
2018-06-09 22:24:03 +03:00
Yuri Bochkarev
fa8cb2fbbd Use old pip upgrade command only for Python 2.6 in appveyor.yml 2018-06-09 22:07:28 +03:00
Yuri Bochkarev
ce6f94022f Add py36 to tox and a note to myself to remember to activate pyenv before using tox 2018-06-09 22:03:00 +03:00
Yuri Bochkarev
c0ae84d12a Update .gitignore 2018-06-09 22:02:01 +03:00
Yuri Bochkarev
0667dd45da Use io.open in setup.py for compatibility with Python 2.7 2018-06-09 21:33:38 +03:00
Yuri Bochkarev
ca21f41582 Update appveyor.yml according to the error message recomendations
They say it should be like this:

ERROR: To modify pip, please run the following command:
c:\python35-x64\python.exe -m pip install --disable-pip-version-check --user --upgrade pip
2018-06-09 21:15:19 +03:00
Yuri Bochkarev
0ac9765f81 Bump version (0.11.1 -> 0.11.2)
Bugfixes:
  - Use TLS v1.2 instead of v1.0
  - Switched to api.coursera.org subdomain for subtitles requests (#664)
2018-06-03 11:29:40 +03:00
Yuri Bochkarev
2d3191997e Update CHANGELOG.md 2018-06-03 11:28:08 +03:00
Yuri Bochkarev
bff4f4f953 Use TLSv1.2 instead of v1.0 (fix #661, #663) 2018-06-03 11:24:34 +03:00
Yuri Bochkarev
5c9d5bcb8c
Merge pull request #664 from TheGoddessInari/master
Followup, change to api.coursera.org in the definition and tests.
2018-06-03 11:20:33 +03:00
TheGoddessInari
c98e83702e Followup, change to api.coursera.org in the definition and tests.
I wish I had time to track down the real URL that's preventing TLS
negotiation, but this at least gets coursera-dl working with its own
downloader again.
2018-06-02 19:10:08 -07:00
Yuri Bochkarev
bb62038650 Bump version (0.11.0 -> 0.11.1)
Bugfixes:
  - Specify utf-8 encoding in setup.py to fix installation on Windows (#662)
2018-06-02 23:17:18 +03:00
Yuri Bochkarev
6dccacd464 Update CHANGELOG.md 2018-06-02 23:16:29 +03:00
Yuri Bochkarev
699a9e03f3 Add more files to ignore to MANIFEST.in 2018-06-02 23:14:47 +03:00
Yuri Bochkarev
fb890e9756
Merge pull request #662 from TheGoddessInari/master
setup.py: Match file.open encoding with the source code encoding.
2018-06-02 23:12:06 +03:00
TheGoddessInari
82722d80c6 setup.py: Match file.open encoding with the source code encoding.
Hit encoding errors on Windows after 0.11, easiest solution is to match encodings.
2018-06-02 13:04:49 -07:00
Yuri Bochkarev
dd983468c8 Bump version (0.10.0 -> 0.11.0)
Features:
  - Add support for "peer assignment" section (#650)

Bugfixes:
  - Switched to api.coursera.org subdomain for API requests (#660)
2018-06-02 19:16:54 +03:00
Yuri Bochkarev
362c21db55 Update CHANGELOG.md 2018-06-02 19:15:57 +03:00
Yuri Bochkarev
3ef1a8d9e3
Merge pull request #660 from TheGoddessInari/master
Switch to API subdomain for API URL defines (fixes SSL errors)
2018-06-02 19:05:03 +03:00
TheGoddessInari
32e95d0d1c Switch to API subdomain for API URL defines.
Started hitting errors today, switch from www.coursera.org/api/ to api.coursera.org/api/ to fix.
2018-06-01 19:42:08 -07:00