Skip to content

Commit

Permalink
Merge pull request #505 from Jar-win/bs4-parser-error
Browse files Browse the repository at this point in the history
Use `html.parser` instead of `html5lib`.

Thanks @Jar-win and @balta2ar for the commits.
  • Loading branch information
rbrito authored Jul 24, 2018
2 parents 899a3c6 + b811848 commit fe82caa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edx_dl/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
from .common import Course, Section, SubSection, Unit, Video


# Force use of bs4 with html5lib
BeautifulSoup = lambda page: BeautifulSoup_(page, 'html5lib')
# Force use of bs4 with html.parser
BeautifulSoup = lambda page: BeautifulSoup_(page, 'html.parser')


def edx_json2srt(o):
Expand Down

0 comments on commit fe82caa

Please sign in to comment.