diff --git a/edx_dl/parsing.py b/edx_dl/parsing.py index c381283..ff45a44 100644 --- a/edx_dl/parsing.py +++ b/edx_dl/parsing.py @@ -369,7 +369,7 @@ def extract_sections_from_html(self, page, BASE_URL): """ def _make_url(section_soup): # FIXME: Extract from here and test try: - return section_soup.a['href'] + return section_soup.ol except AttributeError: # Section might be empty and contain no links return None