This is a great amount of info
And more content Home
# -*- coding: utf8 -*- from __future__ import absolute_import from __future__ import division, print_function, unicode_literals import re from operator import attrgetter from lxml.html import document_fromstring from lxml.html import fragment_fromstring from readability._py3k import to_unicode from readability.readable import Article from readability.scoring import check_node_attributes from readability.scoring import get_class_weight from readability.scoring import ScoredNode from readability.scoring import score_candidates from readability.scoring import generate_hash_id from readability.readable import get_link_density from readability.readable import is_unlikely_node from .compat import unittest from .utils import load_snippet class TestHashId(unittest.TestCase): def test_generate_hash(self): dom = fragment_fromstring("
This is a great amount of info
And more content Home