Add more users so there are more than 20 tweets

Also prevent the registry from erroring out on invalid dates (cough cough jan6 cough cough)
This commit is contained in:
Robert Miles 2018-10-14 17:02:39 -04:00
parent f582d044e9
commit 5c3dd53edf
2 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,9 @@ for user in USERS:
continue
t = r.text.rstrip().split("\n")
for tx in t:
if not re.match(r"\d{4,4}-\d{2,2}-\d{2,2}T\d{2,2}:\d{2,2}:\d{2,2}[+-]\d{2,2}:\d{2,2}",tx.split("\t")[0]):
print(tx)
continue
tweets.append("\t".join([user[0],user[1],tx]))
tweets.sort(key=lambda x: time.strptime(FIX_TZ.sub(fixtz,x.split("\t")[2]),"%Y-%m-%dT%H:%M:%S%z"))

View File

@ -1,2 +1,4 @@
khuxkm https://khuxkm.tilde.team/twtxt.txt
dzns https://tilde.town/~dozens/tw.txt
ben https://tilde.team/~ben/twtxt.txt
jan6 https://tilde.team/~jan6/twtxt.txt