https://github.com/denolfe/jefit-scraper
Scrapes JeFit account for workouts and puts them into sqlite database
https://github.com/denolfe/jefit-scraper
Last synced: about 1 year ago
JSON representation
Scrapes JeFit account for workouts and puts them into sqlite database
- Host: GitHub
- URL: https://github.com/denolfe/jefit-scraper
- Owner: denolfe
- Created: 2014-01-06T01:44:17.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-10T00:38:33.000Z (over 12 years ago)
- Last Synced: 2025-04-03T06:35:30.032Z (over 1 year ago)
- Language: Ruby
- Size: 145 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
JeFit-Scraper
=============
Scrapes JeFit account for workouts and puts them into sqlite database
## Usage
Edit end of scraper.rb for desired timeframe
`scraper.get_data(start_month=1, end_month=12, year)`
`ruby scraper.rb username password`
## Output
File: workout.sqlite3
Command Line:
```
Log created: 2013-06-15
Dumbbell Bench Press
Set 1, Reps: 12, Lbs: 40
Set 2, Reps: 12, Lbs: 45
Set 3, Reps: 8, Lbs: 50
Dumbbell Shoulder Press
Set 1, Reps: 8, Lbs: 30
Set 2, Reps: 6, Lbs: 35
Set 3, Reps: 5, Lbs: 40
Dumbbell Incline Bench Press
Set 1, Reps: 8, Lbs: 40
Set 2, Reps: 8, Lbs: 45
Set 3, Reps: 4, Lbs: 50
Dumbbell Arnold Press
Set 1, Reps: 8, Lbs: 25
Set 2, Reps: 5, Lbs: 30
Set 3, Reps: 6, Lbs: 30
Log created: 2013-06-19
Alternate Seated Dumbbell Curl
Set 1, Reps: 12, Lbs: 20
Set 2, Reps: 10, Lbs: 25
Set 3, Reps: 7, Lbs: 30
Bent Over Two Dumbbell Row
Set 1, Reps: 12, Lbs: 20
Set 2, Reps: 8, Lbs: 25
Set 3, Reps: 8, Lbs: 30
Alternate Incline Dumbbell Curl
Set 1, Reps: 8, Lbs: 20
Set 2, Reps: 8, Lbs: 25
Set 3, Reps: 7, Lbs: 30
Palms In Bent Over Dumbbell Row
Set 1, Reps: 12, Lbs: 25
Set 2, Reps: 10, Lbs: 30
Set 3, Reps: 8, Lbs: 35
Alternate Seated Hammer Curl
Set 1, Reps: 8, Lbs: 25
Set 2, Reps: 8, Lbs: 30
Set 3, Reps: 8, Lbs: 25
```
## To Do
- Add tests to verify functionality
- Add ability to scrape public profiles without entering credentials
- CSV output
- Thor Toolkit?