From ea30903c7001ebc82cc1e0a38249b6cf6350e208 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 22 Nov 2020 12:36:21 +0000 Subject: [PATCH] Debug --- newswire.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/newswire.py b/newswire.py index 3fdfa7eab..f1d33aee0 100644 --- a/newswire.py +++ b/newswire.py @@ -430,7 +430,10 @@ def YTchannelToAtomFeed(url: str) -> str: if 'youtube.com/channel/' not in url: return url channelId = url.split('youtube.com/channel/')[1].strip() - return 'https://www.youtube.com/feeds/videos.xml?channel_id=' + channelId + channelUrl = \ + 'https://www.youtube.com/feeds/videos.xml?channel_id=' + channelId + print('YouTube feed: ' + channelUrl) + return channelUrl def getRSS(baseDir: str, domain: str, session, url: str,