Sfoglia il codice sorgente

add comments

master
Andreas Demmelbauer 6 anni fa
parent
commit
7fd53192dd
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      tootbot.py

+ 2
- 0
tootbot.py Vedi File

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

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

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

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

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


Caricamento…
Annulla
Salva