You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 rivejä
244 B

  1. import requests
  2. from xml.etree import ElementTree as ET
  3. podcast = 'https://files.orf.at/podcast/oe1/oe1_journale.xml'
  4. podcast_string = requests.get(podcast).text
  5. tree = ET.fromstring(podcast_string)
  6. print(tree.find('.//enclosure').get('url'))