This commit is contained in:
hiro 2019-09-02 18:45:07 +02:00
parent 1375171fb6
commit 518cab3eae

View File

@ -13,7 +13,7 @@ webFile = request.urlopen("https://blog.torproject.org/events.xml")
content = webFile.read()
root = etree.fromstring(content)
items = root.findall('channel/item')
file_object = open('../../templates/stream.html', 'w')
file_object = open('../../../templates/stream.html', 'w')
for entry in items:
title = entry.findtext('title')
link = entry.findtext('link')