Browse Source

edited the printout to stdout

master
manetta 1 month ago
parent
commit
8822b1ef36
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      rss-to-ap/rss-to-ap.py

+ 2
- 2
rss-to-ap/rss-to-ap.py View File

@ -25,7 +25,7 @@ year = "{:02d}".format(d.entries[0].published_parsed[0])
month = "{:02d}".format(d.entries[0].published_parsed[1])
day = "{:02d}".format(d.entries[0].published_parsed[2] + 1)
print(year, month, day)
print('LATEST POST IN RSS:', year, month, day)
# -------------------------------------
# WHAT DATE IS IT TODAY?
@ -35,7 +35,7 @@ today_year = "{:02d}".format(int(today[0]))
today_month = "{:02d}".format(int(today[1]))
today_day = "{:02d}".format(int(today[2]))
print(today_year, today_month, today_day)
print('TODAY: ', today_year, today_month, today_day)
# -------------------------------------
# IF ENTRY IS PUBLISHED TODAY


Loading…
Cancel
Save