您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

8 行
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'))