From: Oleg Broytman Date: Wed, 31 Jul 2024 22:25:07 +0000 (+0300) Subject: Feat(get_url): Print headers X-Git-Tag: 5.4.0~11 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=837597d2f52d50bfe28a683a0d33101a1592ce1e;p=bookmarks_db.git Feat(get_url): Print headers --- diff --git a/get_url.py b/get_url.py index 47b9e44..2372367 100755 --- a/get_url.py +++ b/get_url.py @@ -39,6 +39,7 @@ def run(): print("Moved to: %s" % redirect_to) else: + print(headers) with open(output_fname, 'wb') as outfile: outfile.write(content)