This commit is contained in:
bashrc committed 2020-11-22 12:36:21 +00:00
1 parent 06337020f8
commit ea30903c70
1 file changed
+4 -1
+4 -1
View File
@@ -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,