• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

coursera-dl / coursera-dl / 637
73%

Build:
DEFAULT BRANCH: master
Ran 23 May 2017 08:27AM UTC
Jobs 6
Files 27
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
637

push

travis-ci

web-flow
Merge pull request #607 from dzhuang/new_dl_features

New downloading features along with adaptations to the new APIs

- Enable multiple subtitles and transcripts with alternatives.
Sometimes we need to download subititles in different languages, for example, 'en' and 'zh-CN', which is not supported currently. The PR enabled downloading multiple subtitles & transcripts, along with fallback for each language, by using the following format:
```
--subtitle-language <lang1,lang2|fallback1_for_lang2|fallback2_for_lang2>
```
This can will also be an alternative fix for #596 .
- Enable downloading resources blocks.
Some materials are now in a new blocks named ``Resources``, which corresponed to the new API ``onDemandReferences.v1``. Fixing #597 

- Enable file to store parameters.  
There are cases where there are too many parameters (besides username and password) to be set each time we download a course. I use ``configargparse`` to read configurations stored in a local file named ``coursera-dl.conf``. Fixing #97 

- Enable downloading new typename ``programming``
That is different from original ``gradedProgramming`` and ``ungradedProgramming`` so it is not recognized by coursera-dl currently. An example can be find at the end of [this page].
The new API is ``onDemandProgrammingImmediateInstructions.v1``.

- Allow alternative ``MathJax.js`` cdn url when downloading webpages, as the default [``MathJax.js`` url](https://cdn.mathjax.org/mathjax/latest/MathJax.js) is not accessible in some countries (this is the case at least for me).

189 of 189 new or added lines in 5 files covered. (100.0%)

1801 of 2377 relevant lines covered (75.77%)

4.52 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
coursera/commandline.py
18
100.0
coursera/api.py
20
100.0
coursera/extractors.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
coursera/extractors.py
Jobs
ID Job ID Ran Files Coverage
1 637.1 23 May 2017 08:27AM UTC 0
75.31
Travis Job 637.1
2 637.2 23 May 2017 08:27AM UTC 0
75.52
Travis Job 637.2
3 637.3 23 May 2017 08:27AM UTC 0
75.35
Travis Job 637.3
4 637.4 23 May 2017 08:27AM UTC 0
75.35
Travis Job 637.4
5 637.5 23 May 2017 08:27AM UTC 0
75.35
Travis Job 637.5
6 637.6 23 May 2017 08:29AM UTC 0
75.52
Travis Job 637.6
Source Files on build 637
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #637
  • e02fc517 on github
  • Prev Build on master (#611)
  • Next Build on master (#638)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc