Scrapy, a fast high-level web crawling & scraping framework for Python.
xrange() --> range() for Python 3
cclauss33dfac50185b
diff --git a/extras/qpsclient.py b/extras/qpsclient.pyindex bb83588dd..7554f7eec 100644--- a/extras/qpsclient.py+++ b/extras/qpsclient.py@@ -41,7 +41,7 @@ class QPSSpider(Spider):slots = int(self.slots)if slots > 1:- urls = [url.replace('localhost', '127.0.0.%d' % (x + 1)) for x in xrange(slots)]+ urls = [url.replace('localhost', '127.0.0.%d' % (x + 1)) for x in range(slots)]else:urls = [url]