Apologies if this is the wrong place for this but hoping someone could point me in the right direction as I’ve absolutely hit a wall with a sortof niche use case. I had a few python scripts for 2.0 that leaned heavily on being able to find cards with effectively the same sort of query string you’d use in the gui browser ie:
col.findNotes("note:Note Name")
Attempting to update these, I’ve gotten things set up via installing anki with pip but even after reading the source I cannot figure out how searching works now, it is somewhat over my head. Possibly these methods now expect a SearchNode object or certain arguments?
Or is the problem more that I’m not escaping spaces in some way? I’ve tried:
col.find_notes("note:Note Name")
returns empty list
col.find_notes("StringWithNoSpaces")
returns some cids but doesn’t match the old field:searchstring functionality. Any easy way to go here? Many thanks for any help.