Skip to content

Commit 2ebec85

Browse files
committed
hotfix redirects
1 parent 8e3c435 commit 2ebec85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doglib/doglib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def _fetch(self, pid: PID) -> dict:
8888
except: # TODO investigate possible erroneous scenarios, matched HEAD response <link> does not imply signpost
8989
print("using configuration")
9090
request_headers: dict = matching_repo.get_headers(pid_factory(request_url))
91-
final_url, response, response_headers = curl.get(request_url, request_headers, follow_redirects=False)
91+
final_url, response, response_headers = curl.get(request_url, request_headers, follow_redirects=True)
9292

9393
parser: Parser = matching_repo.get_parser()
9494
fetch_result: FetchResult = parser.fetch(response)

0 commit comments

Comments
 (0)