-
-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
698 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[run] | ||
source = textract | ||
source = html-extractor | ||
|
||
omit = | ||
tests/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# -*- coding: utf-8 -*- | ||
""" | ||
Seamlessly extract the date of web pages based on header or body. | ||
http://github.com/adbar/textract | ||
http://github.com/adbar/html-extractor | ||
""" | ||
|
||
from codecs import open # python2 | ||
|
@@ -16,15 +16,15 @@ | |
|
||
|
||
here = os.path.abspath(os.path.dirname(__file__)) | ||
packages = ['textract'] | ||
packages = ['html-extractor'] | ||
|
||
|
||
def readme(): | ||
with open(os.path.join(here, 'README.rst'), 'r', 'utf-8') as readmefile: | ||
return readmefile.read() | ||
|
||
setup( | ||
name='textract', | ||
name='html-extractor', | ||
version='0.0.1', | ||
description='', | ||
long_description=readme(), | ||
|
@@ -52,7 +52,7 @@ def readme(): | |
'Topic :: Text Processing :: Markup :: HTML', | ||
], | ||
keywords=['entity-extraction', 'html-extraction', 'html-parsing', 'metadata-extraction', 'webarchives', 'web-scraping'], | ||
url='http://github.com/adbar/textract', | ||
url='http://github.com/adbar/html-extractor', | ||
author='Adrien Barbaresi', | ||
author_email='[email protected]', | ||
license='GPLv3+', | ||
|
@@ -73,4 +73,4 @@ def readme(): | |
# platforms='any', | ||
tests_require=['pytest', 'tox'], | ||
zip_safe=False, | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
import os | ||
|
||
|
||
import textract | ||
import html-extractor | ||
import pytest # unittest? | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters