LDRのOPMLからRSSのURLを抜き出す
from xml.dom.minidom import parse, parseString
urls = []
dom = parse("export.xml")
for outline in dom.getElementsByTagName("outline"):
url = outline.getAttribute("xmlUrl")
if url: urls.append(url)
楽ちん
LDRのOPMLからRSSのURLを抜き出す
from xml.dom.minidom import parse, parseString
urls = []
dom = parse("export.xml")
for outline in dom.getElementsByTagName("outline"):
url = outline.getAttribute("xmlUrl")
if url: urls.append(url)
楽ちん