title: Trouble going on to the next page
body: <p>When I run my function to get some links from a certain site, it fetches the links from the first page but instead of going on to the next page to do the same, it breaks showing the following error.</p>
  
  <p>Crawler:</p>
  
  <pre><code>import requests
  from lxml import html
  
  def Startpoint(mpage):
      page=4
      while page&lt;=mpage:
          address = "https://www.katalystbusiness.co.nz/business-profiles/bindex"+str(page)+".html"
          tail="https://www.katalystbusiness.co.nz/business-profiles/"
          page = requests.get(address)
          tree = html.fromstring(page.text)
          titles = tree.xpath('//p/a/@href')
          for title in titles:
              if "bindex" not in title:
                  if "cdn-cgi" not in title:
                      print(tail + title)
  
  
      page+=1
  
  Startpoint(5)
  </code></pre>
  
  <p>Error Message:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\ar\AppData\Local\Programs\Python\Python35-32\New.py", line 19, in &lt;module&gt;
      Startpoint(5)
    File "C:\Users\ar\AppData\Local\Programs\Python\Python35-32\New.py", line 6, in Startpoint
      while page&lt;=mpage:
  TypeError: unorderable types: Response() &lt;= int()
  </code></pre>