Skip to content

Instantly share code, notes, and snippets.

@modal
modal / polar_flow_bulk_export.md
Created February 17, 2025 00:40 — forked from anditriathlon/polar_flow_bulk_export.md
Polar Flow export multiple activities in one go using JS/jQuery - working solution at 2023-08-18 using Google Chrome
  1. First of all navigate to: https://flow.polar.com/diary/training-list and select the date range of activities you want, and pick show all in drop down.

  2. then open the developer tools in your browser, e.g in Google Chrome "Control + Alt + I" on Windows or "Option + Command + I" on Mac

  3. then copy paste below JS into console

function extractActivityIds () {
@modal
modal / polar_flow_bulk_export.md
Created February 17, 2025 00:40 — forked from anditriathlon/polar_flow_bulk_export.md
Polar Flow export multiple activities in one go using JS/jQuery - working solution at 2023-08-18 using Google Chrome
  1. First of all navigate to: https://flow.polar.com/diary/training-list and select the date range of activities you want, and pick show all in drop down.

  2. then open the developer tools in your browser, e.g in Google Chrome "Control + Alt + I" on Windows or "Option + Command + I" on Mac

  3. then copy paste below JS into console

function extractActivityIds () {
@modal
modal / polar_flow_bulk_export.md
Last active February 17, 2025 00:43 — forked from anditriathlon/polar_flow_bulk_export.md
Polar Flow export multiple activities in one go using JS/jQuery - working solution at 2023-08-18 using Google Chrome
  1. Navigate to: https://flow.polar.com/diary/training-list and select the date range of activities you want, and pick show all in drop down.

  2. Open the developer tools in your browser, e.g in Google Chrome "Control + Alt + I" on Windows or "Option + Command + I" on Mac

  3. Copy/paste below JS into console

function extractActivityIds () {
	let LIST_SELECTOR = '#Flow > div > div > main > div > div:nth-child(3) > div:nth-child(1) > div.row.history-list__row.history-list';
import glob
# declare types of commands
C_ARITMETIC = object()
C_PUSH = object()
C_POP = object()
C_LABEL = object()
C_GOTO = object()
C_IF = object()
C_FUNCTION = object()