Fix problem with tweets
how the actual fuck did I miss this?
This commit is contained in:
parent
ea4e00e05b
commit
755862700a
|
@ -10,11 +10,10 @@ with open(USERFILE) as f:
|
|||
tweets = []
|
||||
|
||||
for user in USERS:
|
||||
print(user)
|
||||
r = requests.get(user[1],{"User-Agent":"twtxt-registry/tildeverse"})
|
||||
if r.status_code!=200:
|
||||
continue
|
||||
t = "\n".split(r.text.rstrip())
|
||||
t = r.text.rstrip().split("\n")
|
||||
for tx in t:
|
||||
tweets.append("\t".join([user[0],user[1],tx]))
|
||||
|
||||
|
|
Reference in New Issue