Prerequisites
- Firefox
- Selenium IDE (version 2.4.0 as of this article)
- Perl (any perl will do- no modules used)
Once the data is migrated, you can uninstall all of these if you wish
Instructions
- Download a csv of your LoseIt data
- On the LoseIt website, go to Reports->Weight
- Change the filter to Last 5 Years
- Click "Export to Spreadsheet" to download a csv
- Rename it to Weights.csv
- Convert csv to a Selenium test case
- Copy/paste the script below, save it as loseit-to-myfitnesspal.pl in the same place as Weights.csv
- Run perl loseit-to-myfitnesspal.pl from a command prompt
- This makes a file myfitnesspalscript.html in the same folder
- Use Selenium to add the data
- In Firefox: go to the MyFitnessPal website
- Go to "My Home" -> "Check In" -> "Edit Previous Entries"
- Ensure there's an "Add New Entry" button at the bottom
- Selenium
- Open Firefox, click the Selenium button in the toolbar (to the right of the home button; it was invisible for me except for the space it took up)
- File->Open... and choose the myfitnesspalscript.html
- Actions->Play entire test suite
- it should play through all the entries and input them into MyFitnessPal. Don't use Firefox while this is happening.
1 comment:
It’s totally licensed 온라인 카지노 and runs dependable customer support through stay chat and e-mail you could contact any time you face a problem. Needless to say, Slots.LV is home to over 30 jackpot slots that pay out big prizes to fortunate winners. Slots.lV accepts credit card payments when you ever resolve to play for real money as a substitute of free.
Post a Comment