From e1182c78534a7314f83d1c43924d5a5f66bdf641 Mon Sep 17 00:00:00 2001 From: Jack Cushman Date: Mon, 2 Dec 2024 09:20:47 -0500 Subject: [PATCH] Fix url capture failure --- src/nabit/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nabit/__init__.py b/src/nabit/__init__.py index 26df180..cf50bce 100644 --- a/src/nabit/__init__.py +++ b/src/nabit/__init__.py @@ -1,3 +1,7 @@ +# capture_http has to be imported before requests, +# so do it right at the the top of the library. +from warcio.capture_http import capture_http + from importlib.metadata import version, PackageNotFoundError try: