Skip to content

Commit

Permalink
Merge pull request #373 from 1c7/master
Browse files Browse the repository at this point in the history
fix bug: current progress video can not get title properly
  • Loading branch information
iemejia committed Jul 4, 2016
2 parents a905c5b + 6d10d01 commit 0c9c308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edx_dl/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def _make_subsections(section_soup):
# FIXME correct extraction of subsection.name (unicode)
subsections = [SubSection(position=i,
url=BASE_URL + s.a['href'],
name=s.p.string)
name=s.p.get_text().replace('current section',''))
for i, s in enumerate(subsections_soup, 1)]

return subsections
Expand Down

0 comments on commit 0c9c308

Please sign in to comment.