aboutsummaryrefslogtreecommitdiffstats
path: root/python/sandcrawler/db.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-02-18 16:42:36 -0800
committerBryan Newbold <bnewbold@archive.org>2020-02-18 16:42:36 -0800
commit832a9e42bc068c1b1656526b4a2cb7108c9b8334 (patch)
tree6fb1e0a0d7403659667265175a7e9dbbf6a30ac2 /python/sandcrawler/db.py
parentf613f69a40fcc9a445f21cadd35d7c36c8061db8 (diff)
downloadsandcrawler-832a9e42bc068c1b1656526b4a2cb7108c9b8334.tar.gz
sandcrawler-832a9e42bc068c1b1656526b4a2cb7108c9b8334.zip
include rel and oa_status in ingest request 'extra'
Diffstat (limited to 'python/sandcrawler/db.py')
-rw-r--r--python/sandcrawler/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/db.py b/python/sandcrawler/db.py
index ddb71a0..673912c 100644
--- a/python/sandcrawler/db.py
+++ b/python/sandcrawler/db.py
@@ -248,7 +248,7 @@ class SandcrawlerPostgresClient:
for r in batch:
# in case these fields were already packed into 'request'
extra = r.get('request', {})
- for k in ('ext_ids', 'fatcat_release', 'edit_extra'):
+ for k in ('ext_ids', 'fatcat_release', 'edit_extra', 'rel'):
if r.get(k):
extra[k] = r[k]
if extra: