File tree Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 27
27
28
28
29
29
REGEXES = {
30
- << << << < HEAD :src / readability_lxml / readability .py
31
30
'unlikelyCandidatesRe' : re .compile (
32
31
('combx|comment|community|disqus|extra|foot|header|menu|remark|rss|'
33
32
'shoutbox|sidebar|sponsor|ad-break|agegate|pagination|pager|popup|'
Original file line number Diff line number Diff line change 17
17
import re
18
18
import sys
19
19
import unittest
20
- import readability .urlfetch
21
20
import yaml
22
21
23
22
from lxml .html import builder as B
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ class TestMultiPageHelpers(unittest.TestCase):
150
150
def test_find_next_page_url (self ):
151
151
"""Verify we can find a next page url in the html body"""
152
152
html = """
153
- <html><body><a href="/?page=2">2 </a></body></html>
153
+ <html><body><a href="/?page=2">next </a></body></html>
154
154
"""
155
155
from lxml .html import document_fromstring
156
156
doc = document_fromstring (html )
You can’t perform that action at this time.
0 commit comments