Skip to content

Commit

Permalink
Merge pull request #1 from kareemadel/master
Browse files Browse the repository at this point in the history
adjust the name input of the SubSection to the new HTML structure
  • Loading branch information
bandupahile committed Jul 21, 2018
2 parents 55f6e51 + 933e1f7 commit 9631c78
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 @@ -388,7 +388,7 @@ def _make_subsections(section_soup):
# FIXME correct extraction of subsection.name (unicode)
subsections = [SubSection(position=i,
url=s.a['href'],
name=s.a.div.span.string.strip())
name=s.a.div.div.string.strip())
for i, s in enumerate(subsections_soup, 1)]

return subsections
Expand Down

0 comments on commit 9631c78

Please sign in to comment.