Skip to content

Commit

Permalink
Merge pull request #2 from shubham76/updated-one
Browse files Browse the repository at this point in the history
Removed the cache and duplication problem.
  • Loading branch information
shubham76 committed Feb 3, 2017
2 parents 0e4b7df + f54471b commit d14f4c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions crik/crik/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
# Enable and configure HTTP caching (disabled by default)
# See http://scrapy.readthedocs.org/en/latest/topics/downloader-middleware.html#httpcache-middleware-settings
#HTTPCACHE_ENABLED=True
DUPEFILTER_DEBUG = True
#HTTPCACHE_EXPIRATION_SECS=0
#HTTPCACHE_DIR='httpcache'
#HTTPCACHE_IGNORE_HTTP_CODES=[]
Expand Down
2 changes: 1 addition & 1 deletion crik/crik/spiders/scores.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def parse(self, response):
next_page='http://www.espncricinfo.com/ci/engine/match/index.html'
if next_page is not None:
next_page = response.urljoin(next_page)
yield scrapy.Request(next_page, callback=self.parse)
yield scrapy.Request(next_page, callback=self.parse,dont_filter=True)
exit=True


0 comments on commit d14f4c2

Please sign in to comment.