From b2bb38e6b9172072458ec1c8aed3e0b4c5f54a43 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Sun, 7 Nov 2021 11:49:19 -0800 Subject: [PATCH] Show channel fetch URL --- Changelog | 2 ++ pinch.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 5724f4b..3733d0d 100644 --- a/Changelog +++ b/Changelog @@ -1,4 +1,6 @@ ## [Unreleased] +### Changed +- Show the channel URL being fetched. ## [3.0.5] - 2021-07-09 diff --git a/pinch.py b/pinch.py index 18055dc..130f69a 100644 --- a/pinch.py +++ b/pinch.py @@ -247,7 +247,7 @@ def compare(a: str, b: str) -> Tuple[List[str], List[str], List[str]]: def fetch_channel( v: Verification, channel: ChannelSearchPath) -> Tuple[str, str]: - v.status('Fetching channel') + v.status('Fetching channel from %s' % channel.channel_url) request = urllib.request.urlopen(channel.channel_url, timeout=10) channel_html = request.read().decode() forwarded_url = request.geturl() -- 2.44.1