main
Bob Mottram 2020-11-22 12:36:21 +00:00
parent 06337020f8
commit ea30903c70
1 changed files with 4 additions and 1 deletions

View File

@ -430,7 +430,10 @@ def YTchannelToAtomFeed(url: str) -> str:
if 'youtube.com/channel/' not in url: if 'youtube.com/channel/' not in url:
return url return url
channelId = url.split('youtube.com/channel/')[1].strip() 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, def getRSS(baseDir: str, domain: str, session, url: str,