Closed virtosubogdan closed 5 years ago
ci shows 1 test failing, other than that, looks good
I have resolved the failing tests here, with explanation: https://github.com/pbs/pycaption/pull/186
I was able to upgrade beautifulsoup4
as well, with tests passing in both python versions, shown here in this commit. It's based off of py27-py3-compat
so I would be happy to create a PR once this gets merged!
I was also able to refactor this code to not generate the HTML manually, but use bs4. It's a fairly substantial refactor, so I stuck with the most straightforward solution in the above commit.
Thanks @bjester ! Nice work
Made to look as much as possible to the master branch (version>1, python3 only)