From: Scott Worley Date: Sun, 7 Nov 2021 19:49:19 +0000 (-0800) Subject: Show channel fetch URL X-Git-Tag: v3.0.6~6 X-Git-Url: http://git.scottworley.com/pinch/commitdiff_plain/b2bb38e6b9172072458ec1c8aed3e0b4c5f54a43?hp=38fcf16a6146a8dcd4944debed9b3e0260a0dcaf Show channel fetch URL --- 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()