diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-02-24 23:33:55 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-02-24 23:33:55 -0800 |
commit | dd2afc1b8bf457ee15150359e00369bc995de19e (patch) | |
tree | d0fa5e7ef182469648013989c2a2b2069013ee97 | |
parent | f6e4cd94ad89d7c6c186b556ccc07534c8fe5919 (diff) | |
download | sandcrawler-dd2afc1b8bf457ee15150359e00369bc995de19e.tar.gz sandcrawler-dd2afc1b8bf457ee15150359e00369bc995de19e.zip |
fix warc_offset -> offset
-rw-r--r-- | python/sandcrawler/ia.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/ia.py b/python/sandcrawler/ia.py index 07e46c3..267ecdc 100644 --- a/python/sandcrawler/ia.py +++ b/python/sandcrawler/ia.py @@ -377,7 +377,7 @@ class WaybackClient: revisit_uri, revisit_dt = gwb_record.refers_to if not (revisit_uri and revisit_dt): raise WaybackError("revisit record missing URI and/or DT: warc:{} offset:{}".format( - warc_path, warc_offset)) + warc_path, offset)) # convert revisit_dt # len("2018-07-24T11:56:49"), or with "Z" assert len(revisit_dt) in (19, 20) |