Browse Source

add comments

master
Andreas Demmelbauer 6 years ago
parent
commit
7fd53192dd
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tootbot.py

+ 2
- 0
tootbot.py View File

@@ -82,6 +82,7 @@ print('====== TWITTER ======')


t = feedparser.parse('http://twitrss.me/twitter_user_to_rss/?user='+twitteruser) t = feedparser.parse('http://twitrss.me/twitter_user_to_rss/?user='+twitteruser)


# start with oldest
for p in reversed(t.entries): for p in reversed(t.entries):
# check if this tweet has been processed # check if this tweet has been processed
db.execute( db.execute(
@@ -172,6 +173,7 @@ h.body_width = 0


s = feedparser.parse('http://'+soupuser+'/rss') s = feedparser.parse('http://'+soupuser+'/rss')


# start with oldest
for p in reversed(s.entries): for p in reversed(s.entries):
# check if this tweet has been processed # check if this tweet has been processed
db.execute( db.execute(


Loading…
Cancel
Save