Replying to Avatar lemon

I moved over from the 'pynostr' library to 'nostr_sdk' because it's being actively maintained, but every once in awhile I get stuck

Why doesn't this filter work to search events in the NIP94 File Metadata?

Filter().kind(Kind(1063)).custom_tag(SingleLetterTag.lowercase(Alphabet.M), "image/gif").search("dinosaur")

Is there a way to search custom tags that aren't of "SingleLetterTag" type (e.g. "summary", "alt", "ox")?

#asknostr #python

nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet nostr:npub1vp8fdcyejd4pqjyrjk9sgz68vuhq7pyvnzk8j0ehlljvwgp8n6eqsrnpsw nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w

Avatar
The Fishcake (nostr.build) 1y ago

Sorry, I have very little knowledge about these things 🫂

Reply to this note

Please Login to reply.

Discussion

Avatar
lemon 1y ago

How would you go about searching the gifs we’re uploading to nostr.build from gifbuddy?

Thread collapsed
Avatar
lemon 1y ago

Also, what relays are you using on nostr:npub1nxy4qpqnld6kmpphjykvx2lqwvxmuxluddwjamm4nc29ds3elyzsm5avr7 to broadcast NIP94 events after files are uploaded?

Avatar
The Fishcake (nostr.build) 1y ago

Replied in DM(04)

Thread collapsed
Thread collapsed