Commit graph

1109 commits

Author SHA1 Message Date
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
Yuri Bochkarev
38b620c39e
Merge pull request #658 from dharmanshu24/master
Update Readme.md to run without -p field
2018-05-31 19:44:59 +03:00
Dharmanshu Saini
b01bde501e
Update Readme.md to run without -p field 2018-05-31 21:00:17 +05:30
NoUrEdDiN
564c741755 improve and use clean_filename
`clean_filename` wasn't used; it's now used before making directories
or write files under the notebook folder.

`clean_filename` is improved a little, to handle more Windows-specific
edge cases. And the existing tests were updated accordingly.
2018-05-07 10:49:13 +02:00
Yuri Bochkarev
7d6d0909ab Mention how to configure timeouts for an external downloader (aria2c)
ref #453
ref #626
2018-04-08 21:50:50 +03:00
Yuri Bochkarev
2b9e16cc3a
Merge pull request #651 from coursera-dl/650-add-support-for-phaser-peer-typename
Add support for "phaserPeer" typename (peer assignment instructions)
2018-04-08 20:52:48 +03:00
Yuri Bochkarev
fda7e337c3 Add fixtures to test "phasedPeer" 2018-03-25 16:18:01 +03:00
Yuri Bochkarev
1ed4490b5b Add tests for "phasedPeer" typename (peer assignment instructions) 2018-03-25 16:17:34 +03:00
Yuri Bochkarev
26cf38cee3 Add support for "phasedPeer" typename (peer assignment instructions)
The structure is very similar to all other text instructions but peer
assignment instructions should be retrieved using the following API method:
onDemandPeerAssignmentInstructions.v1

fix #650
2018-03-25 16:13:27 +03:00