Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
v0.2.1, 18/01/2016 -- Make Python3 compatible
v0.2.0, 06/06/2014 -- Add Twitter cards extractor, DictExtractor, other fixes from @ducu.
v0.1.3, 11/23/2012 -- Add html5lib to dependencies to ensure parsing is possible.
v0.1.2, 11/23/2012 -- Update setup.py dependencies for saner installation, again.
Expand Down
5 changes: 4 additions & 1 deletion extraction/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
>>> resp = extr.extract(html)
>>> print resp
"""
import urlparse
try:
import urlparse
except ImportError:
from urllib import parse as urlparse
import importlib


Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

setup(
name='extraction',
version='0.2',
version='0.2.1',
author='Will Larson',
author_email='lethain@gmail.com',
packages=['extraction', 'extraction.tests', 'extraction.examples'],
url='http://pypi.python.org/pypi/extraction/',
license='LICENSE.txt',
description='Extract basic info from HTML webpages.',
long_description=open('README.rst').read(),
long_description=open('README.rst', 'r', encoding='utf-8').read(),
install_requires=[
"beautifulsoup4 >= 4.1.3",
"html5lib",
Expand Down