FindMy.py icon indicating copy to clipboard operation
FindMy.py copied to clipboard

Usage and installation

Open beckmx opened this issue 10 months ago • 3 comments

Hello there, I was checking your docs, I am using a mac and installed the pip library, if i understand correctly I install the library through pip and then use it as in the examples, correct? but i also noticed the anisette dependency inside the examples, just wondering if you have a reference on installing anisette correctly

greetings!

beckmx avatar Feb 13 '25 06:02 beckmx

Anisette refers to an Anisette provider such as anisette-v3-server. It's a server you can host on your own computer and need to point FindMy.py towards.

In the near future this requirement will be lifted and the library will be able to obtain Anisette data itself, which should make installation a lot easier. However, currently this is not possible yet.

malmeloo avatar Feb 13 '25 12:02 malmeloo

Hello there, just finished reviewing everything, looks like my anisette instance is working, the first time i fetched a report i had an answer, but now all the subsequent calls i get this response:

python3 fetch_reports.py a4229==
Logged in as: [email protected] (xyz)
INFO:root:Fetching anisette data from http://localhost:6969
ERROR:asyncio:Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f9ffcd54c70>
ERROR:asyncio:Unclosed connector
connections: ['deque([(<aiohttp.client_proto.ResponseHandler object at 0x7f9ffcd6ebc0>, 1333829.858415776)])']
connector: <aiohttp.connector.TCPConnector object at 0x7f9ffcd54c10>

Any idea why?

beckmx avatar Feb 28 '25 14:02 beckmx

Those errors can be ignored, they just mean the underlying sessions haven't been closed properly. If it doesn't print anything then it didn't find any reports, so is your tag still working? Apple only stores reports for up to 7 days.

malmeloo avatar Mar 01 '25 14:03 malmeloo

Hey, I'm going to close this issue due to inactivity. Feel free to reopen if you still have any questions.

malmeloo avatar Jun 14 '25 14:06 malmeloo