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

Puzzle it #2

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

Puzzle it #2

wants to merge 2 commits into from

Conversation

puzzle-it
Copy link
Member

  • I've added extractor class, it's haven't been tested yet but i am thinking about possible tests, suggestions are always welcome, it's based on the same principle of Crawler class, but it's HTMLParser is completely customizable, the customization can be made passing a dictonary containing different functions.
  • I've added a test case for Crawler.crawl() method, it parses an html page and give back the result of an assert, between Crawler.crawl() output and an handy inserted list
  • New suggestions and ideas are always welcome

…file for crawler and added test/run_tests.py file for running all tests it needs to be fixed, tests from tests/crawler_test.py can be run using python command, added updater/extractor.py file, it contains first feature extractor sketch it haven't been debugged yet
…er class in updater/crawler.py file to check exsistence of __url_list attribute, strings are inserted in __url_list as simple strings avoiding unicode ones
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.

None yet

1 participant