karlicoss/HPI

google takeout parser: support multiple locales when detecting paths

purarue opened this issue · 1 comments

just putting this here so I dont forget

EXPECTED = (
"My Activity",
"Chrome",
"Location History",
"Youtube",
"YouTube and YouTube Music",
)
may not always work if the users google takeouts are in a different language. the directories use the google accounts main language, so just testing for 'My Activity' may not always work

related: seanbreckenridge/google_takeout_parser#54

once I make a release on google_takeout_parser, need to update the EXPECTED to match all possible locales for google takeout parser

see: https://github.com/seanbreckenridge/google_takeout_parser/blob/302b06f329c4cb9251a845d767fa9c1a32f88970/google_takeout_parser/locales/main.py#L29

should be solved by 93e4757, forgot to close