Skip to content

Commit

Permalink
Merge pull request jmoiron#14 from pluser/hotfix
Browse files Browse the repository at this point in the history
Compatible with python3
  • Loading branch information
jmoiron authored Jun 12, 2016
2 parents cf51839 + 99ff260 commit e7e8d79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion speedparser/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from speedparser import parse
from .speedparser import parse
VERSION = (0,2,0)
__all__ = ['parse', 'VERSION']
5 changes: 4 additions & 1 deletion speedparser/speedparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@

import re
import time
import urlparse
try:
import urlparse
except:
import urllib.parse as urlparse
import chardet
from lxml import etree
from lxml.html import clean
Expand Down

0 comments on commit e7e8d79

Please sign in to comment.