biemster / FindMy

Query Apple's Find My network
293 stars 47 forks source link

Improve anisette parsing #3

Closed wangwillian0 closed 2 years ago

wangwillian0 commented 2 years ago

Sometimes the X-Apple-MD-M data field comes without the quotes, which breaks the script. This should make the parsing more robust.

Example:

{
    "X-Apple-MD" = "XXX...XXX";
    "X-Apple-MD-M" = XXX...XXX;
}