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 2727
2828
2929REGEXES = {
30- << << << < HEAD :src / readability_lxml / readability .py
3130 'unlikelyCandidatesRe' : re .compile (
3231 ('combx|comment|community|disqus|extra|foot|header|menu|remark|rss|'
3332 'shoutbox|sidebar|sponsor|ad-break|agegate|pagination|pager|popup|'
Original file line number Diff line number Diff line change 1717import re
1818import sys
1919import unittest
20- import readability .urlfetch
2120import yaml
2221
2322from lxml .html import builder as B
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ class TestMultiPageHelpers(unittest.TestCase):
150150 def test_find_next_page_url (self ):
151151 """Verify we can find a next page url in the html body"""
152152 html = """
153- <html><body><a href="https://github.com/?page=2">2 </a></body></html>
153+ <html><body><a href="https://github.com/?page=2">next </a></body></html>
154154 """
155155 from lxml .html import document_fromstring
156156 doc = document_fromstring (html )
You can’t perform that action at this time.
0 commit comments