Trivial changes
This commit is contained in:
parent
3fa3611dfc
commit
72c4cdd489
|
@ -0,0 +1,11 @@
|
|||
import yaml
|
||||
|
||||
rawDat = open('rss_univ.txt', 'r')
|
||||
|
||||
strDat = rawDat.read()
|
||||
|
||||
rawDat = strDat.split(';\n')
|
||||
|
||||
# rawDat = yaml.load(rawDat[0])
|
||||
|
||||
print(rawDat[0])
|
|
@ -10,11 +10,11 @@ def get_data_rss():
|
|||
|
||||
file = open('rss_univ.txt', 'a')
|
||||
|
||||
file.write(str(datCnn.headers['Date']) + ';\n')
|
||||
# file.write(str(datCnn.headers['Date']) + ';\n')
|
||||
file.write(str(datCnn) + ';\n')
|
||||
file.write(str(datUniver.headers['Date']) + ';\n')
|
||||
# file.write(str(datUniver.headers['Date']) + ';\n')
|
||||
file.write(str(datUniver) + ';\n')
|
||||
file.write(str(datJorn.headers['Date']) + ';\n')
|
||||
# file.write(str(datJorn.headers['Date']) + ';\n')
|
||||
file.write(str(datJorn) + ';\n')
|
||||
|
||||
file.close()
|
||||
|
|
Loading…
Reference in New Issue