it's home, not unlisted

This commit is contained in:
Ruben 2025-04-23 12:11:45 -05:00
commit 7d92d80986
No known key found for this signature in database
GPG key ID: AE181294E97E4802
2 changed files with 2 additions and 1 deletions

View file

@ -20,4 +20,5 @@ print(text)
requests.post("https://beeping.synth.download/api/iceshrimp/notes", json={ requests.post("https://beeping.synth.download/api/iceshrimp/notes", json={
'visibility': 'home', 'visibility': 'home',
'text': text, 'text': text,
#'cw': 'gyattov generated text',
}, headers={"Authorization": f"Bearer {secrets__.TOKEN}"}) }, headers={"Authorization": f"Bearer {secrets__.TOKEN}"})

View file

@ -20,7 +20,7 @@ export_json = json.load(export)
corpus = [] corpus = []
for note in export_json: for note in export_json:
if note.get('visibility') not in ['public', 'unlisted']: if note.get('visibility') not in ['public', 'home']:
continue continue
if note.get('localOnly'): if note.get('localOnly'):