Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

coursera-dl / edx-dl
48%

DEFAULT BRANCH: master
Build:
Repo Added 19 Jul 2015 08:04AM UTC
Total Files 6
# Builds 152 Last
Badge
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • use-comments-as-docstring
  • set-travis-notifications
  • use-external-downloader
  • 0.1.3
  • 0.1.5
  • new-python-in-travis
  • fix-0-courses-available
  • 0.1.2
  • 0.1.6
  • 0.1.7
  • 0.1.8
  • 0.1.9
  • 0.1.10

6 Nov 2019 - 14:18 coverage remained the same at 47.7%
181

Pull #564

travis-ci

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
update parsing.py to account for new edx structure

recently edx slightly changed their website's structure for some courses:
- sections now have one of two classes: `outline-item section` or `outline-item section scored`
- subsections have one of two classes: `vertical outline-item focusable` or `vertical outline-item focusable scored`.

  this resulted in 0 downloadable sections being found for some courses, e.g. https://courses.edx.org/courses/course-v1:MITx+14.750x+3T2019/course/. 

A slight change in edx_dl/parsing.py in the class NewEdxPageExtractor resolves the issue. Class identifier has been replaced with a list representing both possibilities. This should therefore work for both new and old courses as well as mixed instances.
Pull Request #564: small changes to parsing.py to address issue #559

0 of 2 new or added lines in 1 file covered. (0.0%)

363 of 761 relevant lines covered (47.7%)

0.48 hits per line

Relevant lines Covered
761 RELEVANT LINES 363 COVERED LINES
Build:
0.48 HITS PER LINE
Source Files on master
  • Tree
  • List 6
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent Builds

Builds Branch Coverage Commit Committer Type Time Via
181 master
47.7
update parsing.py to account for new edx structure recently edx slightly changed their website's structure for some courses: - sections now have one of two classes: `outline-item section` or `outline-item section scored` - subsections have one ... 9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow Pull #564 06 Nov 2019 02:21PM UTC travis-ci
180 master
47.7
Added filename sanitization for non-video resources 9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow Pull #556 17 Sep 2019 09:26AM UTC travis-ci
178 master
47.7
Update README.md 9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow Pull #543 12 Mar 2019 11:18AM UTC travis-ci
177 master
44.03
preserve non-ASCII characters when removing special characters in file name 9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow Pull #412 16 Feb 2019 09:18AM UTC travis-ci
176 master
46.38
Fix downloading videos from Stanford Issue #536 Stanford website has different html elements than the current available extractors. * Introduce a new class for lagunita.stanford.edu 9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow Pull #539 28 Jan 2019 10:55PM UTC travis-ci
See All Builds (152)
Notice exc

Badge your Repo: edx-dl

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Loading Refresh
  • Repo on GitHub
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2022 Coveralls, Inc