Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3 compatibility #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Python3 compatibility #21

wants to merge 3 commits into from

Conversation

waleedka
Copy link

@waleedka waleedka commented Jul 2, 2016

I encountered several bugs running it on Python 3. I fixed them here in a way compatible with both Python 2 and 3 so everyone's happy. This PR includes:

  • Use BeautifulSoup 4 instead of the obsolete version 3
  • Fix for relative import, which is not the default in py3.
  • Import the reduce() because it's not a builtin funciton in py3.
  • Fixing saving files (string vs bytes).

This update was tested on Python 2.7 and 3.5 on OSX.

@tjtorres
Copy link
Contributor

tjtorres commented Jul 8, 2016

This looks good so far. I'll do some testing and then merge after.

@albell
Copy link

albell commented Feb 13, 2019

Is there a reason this was never merged? Is this project still maintained?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants