Scraping an anchor podcast

It’s 2021 and I want to burn some mp3 on a CD to enjoy a podcast like it’s 2005.
Luckily, the main technology under podcasts is Free™.
From cementopodcast.it I go to https://anchor.fm/cemento/episodes/01-01—Un-Nuovo-Est-e921bn/a-a39r2ov which has a neat RSS URL, so it’s only a matter of

$ wget -O cementopodcast.rss https://anchor.fm/s/1097051c/podcast/rss
$ grep -a -e "<link>" -e "<enclosure " cementopodcast.rss > source.txt
# [Delete a couple of spurious  lines]
#!/usr/bin/python3

from os import system

with open('source.txt', 'r') as sourcefile:
    while True:
        title = sourcefile.readline()
        if title == '':
            break
        parts = title.split('/')[-2].split('-')
        season = parts[0]
        episode = parts[1]
        fulltitle = '_'.join(parts[4:-1])
        name = f'{season}-{episode}_{fulltitle}.mp3'
        audiourl = sourcefile.readline().split()[1][4:]
        system(f'wget -O intermediate {audiourl}')
        if audiourl[-4:] != 'mp3"':
            system(f'ffmpeg -i intermediate -ab 320K {name}')
        else:
            system(f'mv intermediate {name}')