A simple script to fetch the RSS feed URL from a YouTube channel URL.
pdm run fetch <youtube_channel_url>
Which should return the RSS feed URL or an error if there was a problem.
Example:
pdm run fetch https://www.youtube.com/@AEW
Which results in:
https://www.youtube.com/feeds/videos.xml?channel_id=UCFN4JkGP_bVhAdBsoV9xftA