]> git.scottworley.com Git - pinch/commitdiff
Show channel fetch URL
authorScott Worley <scottworley@scottworley.com>
Sun, 7 Nov 2021 19:49:19 +0000 (11:49 -0800)
committerScott Worley <scottworley@scottworley.com>
Fri, 14 Jan 2022 00:07:45 +0000 (16:07 -0800)
Changelog
pinch.py

index 5724f4b6b2ce8b2f7938b462b7d5851b4d56cc84..3733d0df9e5ca82214e52fd9762a519495f356f3 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,4 +1,6 @@
 ## [Unreleased]
+### Changed
+- Show the channel URL being fetched.
 
 
 ## [3.0.5] - 2021-07-09
index 18055dc9a00d9f2190e8b9ab101a8a16a27b66c6..130f69a8daeb86fc6521de878da3014075f8b16d 100644 (file)
--- 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()