mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
we want to save all captures to the big "captures"
table, even if we don't want to dedup against them
This commit is contained in:
parent
af863c6dba
commit
e23af32e94
2
setup.py
2
setup.py
@ -40,7 +40,7 @@ except:
|
||||
|
||||
setuptools.setup(
|
||||
name='warcprox',
|
||||
version='2.4b2.dev171',
|
||||
version='2.4b2.dev172',
|
||||
description='WARC writing MITM HTTP/S proxy',
|
||||
url='https://github.com/internetarchive/warcprox',
|
||||
author='Noah Levitt',
|
||||
|
@ -253,6 +253,4 @@ class RethinkCapturesDedup(warcprox.dedup.DedupDb, DedupableMixin):
|
||||
self.captures_db.close()
|
||||
|
||||
def notify(self, recorded_url, records):
|
||||
if (records and records[0].type == b'response'
|
||||
and self.should_dedup(recorded_url)):
|
||||
self.captures_db.notify(recorded_url, records)
|
||||
self.captures_db.notify(recorded_url, records)
|
||||
|
Loading…
x
Reference in New Issue
Block a user