Remove any ending

main
Bob Mottram 2020-11-22 12:27:42 +00:00
parent bf28568bd1
commit a41ec54370
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ def YTchannelToAtomFeed(url: str) -> str:
"""
if 'youtube.com/channel/' not in url:
return url
channelId = url.split('youtube.com/channel/')[1]
channelId = url.split('youtube.com/channel/')[1].strip()
return 'https://www.youtube.com/feeds/videos.xml?channel_id=' + channelId