{"html_url": "https://github.com/dogsheep/dogsheep-beta/issues/28#issuecomment-711089647", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-beta/issues/28", "id": 711089647, "node_id": "MDEyOklzc3VlQ29tbWVudDcxMTA4OTY0Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-10-17T22:43:13Z", "updated_at": "2020-10-17T22:43:13Z", "author_association": "MEMBER", "body": "Since my personal Dogsheep uses Datasette authentication, I'm going to need to pass through cookies. https://github.com/simonw/datasette/issues/1020 will solve that in the future but for now I need to solve it explicitly.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 723861683, "label": "Switch to using datasette.client"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/healthkit-to-sqlite/issues/11#issuecomment-711074031", "issue_url": "https://api.github.com/repos/dogsheep/healthkit-to-sqlite/issues/11", "id": 711074031, "node_id": "MDEyOklzc3VlQ29tbWVudDcxMTA3NDAzMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-10-17T20:14:01Z", "updated_at": "2020-10-17T20:14:01Z", "author_association": "MEMBER", "body": "I'd be happy to teach the tool to look for `export.xml` or `eksport.xml` - and then expand that list to other languages.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 723838331, "label": "export.xml file name varies with different language settings"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/healthkit-to-sqlite/issues/11#issuecomment-711074306", "issue_url": "https://api.github.com/repos/dogsheep/healthkit-to-sqlite/issues/11", "id": 711074306, "node_id": "MDEyOklzc3VlQ29tbWVudDcxMTA3NDMwNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-10-17T20:16:22Z", "updated_at": "2020-10-17T20:16:22Z", "author_association": "MEMBER", "body": "The \"first XML file in the root\" solution is probably easier though!", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 723838331, "label": "export.xml file name varies with different language settings"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/healthkit-to-sqlite/issues/11#issuecomment-711078917", "issue_url": "https://api.github.com/repos/dogsheep/healthkit-to-sqlite/issues/11", "id": 711078917, "node_id": "MDEyOklzc3VlQ29tbWVudDcxMTA3ODkxNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-10-17T20:51:55Z", "updated_at": "2020-10-17T20:52:03Z", "author_association": "MEMBER", "body": "I switched my phone to Spanish and ran an export - I got a file called `exportar.zip`. Unzipped I still got a `apple_\r\nhealth_export` folder but the root contained:\r\n```\r\nelectrocardiograms/\r\nexport_cda.xml\r\nexportar.xml\r\nworkout-routes/\r\n```\r\nIt looks like `export_cda.xml` does not have a translated name, so maybe I can ignore it and look for the _other_ `.xml` file in that directory.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 723838331, "label": "export.xml file name varies with different language settings"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/healthkit-to-sqlite/issues/11#issuecomment-711079056", "issue_url": "https://api.github.com/repos/dogsheep/healthkit-to-sqlite/issues/11", "id": 711079056, "node_id": "MDEyOklzc3VlQ29tbWVudDcxMTA3OTA1Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-10-17T20:53:00Z", "updated_at": "2020-10-17T20:53:00Z", "author_association": "MEMBER", "body": "I think the safest thing is to sniff the first few lines of the file. Those should be the same no matter the language that was used:\r\n```xml\r\n\r\n