Event JSON
{
"id": "21fdde4cd1d75d965910d12697290632cf3a32140802431668958c222ba6eef2",
"pubkey": "be7358c4fe50148cccafc02ea205d80145e253889aa3958daafa8637047c840e",
"created_at": 1729659672,
"kind": 1,
"tags": [
[
"t",
"asknostr"
],
[
"t",
"python"
],
[
"p",
"68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272",
"",
"mention"
],
[
"p",
"604e96e099936a104883958b040b47672e0f048c98ac793f37ffe4c720279eb2",
"",
"mention"
],
[
"p",
"8fb140b4e8ddef97ce4b821d247278a1a4353362623f64021484b372f948000c",
"",
"mention"
]
],
"content": "I moved over from the 'pynostr' library to 'nostr_sdk' because it's being actively maintained, but every once in awhile I get stuck\n\nWhy doesn't this filter work to search events in the NIP94 File Metadata? \n\nFilter().kind(Kind(1063)).custom_tag(SingleLetterTag.lowercase(Alphabet.M), \"image/gif\").search(\"dinosaur\")\n\nIs there a way to search custom tags that aren't of \"SingleLetterTag\" type (e.g. \"summary\", \"alt\", \"ox\")?\n\n#asknostr #python\n nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet nostr:npub1vp8fdcyejd4pqjyrjk9sgz68vuhq7pyvnzk8j0ehlljvwgp8n6eqsrnpsw nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w\n\nhttps://m.primal.net/LfIy.png ",
"sig": "34070f6f62218c5ffc9b6c090ff097b20fda6912d3d0c0c185c3b1a18fa96b8d3ec322a531d1f39a118706f9fb8b5c5af693b1666d19b884985c7e1950b032b2"
}