Script for integrating codeacademy and beeminder

I recently wrote a small python script to automatically beemind my progress
on codeacademy. It tracks the number of badges on a codeacademy profile
page through the BeautifulSoup screen scraping library, and then updates a
beeminder graph with the total. The github repo
is https://github.com/ghabs/beeacademy

I’d be really interested in any feedback, particularly any 'refactoring’
advice to make it more resilient (i.e. if codeacademy changes their CSS
layout it would throw off the script). I’m also adapting it for codeschool
and udacity, in the hopes of making it easier to overcome akrasia with
regards to online education. Hope this helps!

Best,
Ben

Is there a way to track the number of exercises done rather than the number
of badges? As you progress more on codecademy I feel like it gets harder to
get badges. However, I still like going through and doing the exercises.

Allison

On Thu, Feb 28, 2013 at 11:15 AM, Ben goldhaber.ben@gmail.com wrote:

I recently wrote a small python script to automatically beemind my
progress on codeacademy. It tracks the number of badges on a codeacademy
profile page through the BeautifulSoup screen scraping library, and then
updates a beeminder graph with the total. The github repo is
https://github.com/ghabs/beeacademy

I’d be really interested in any feedback, particularly any ‘refactoring’
advice to make it more resilient (i.e. if codeacademy changes their CSS
layout it would throw off the script). I’m also adapting it for codeschool
and udacity, in the hopes of making it easier to overcome akrasia with
regards to online education. Hope this helps!

Best,
Ben


You received this message because you are subscribed to the Google Groups
“Akratics Anonymous” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to akratics+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Definitely. My plan is after getting this prelim script to work with
codeschool/udacity to work on a more extensive version of the screen
scrapping, so that you put in your user profile and it’ll pull all of the
info related to the different tracks, points, and badges. That way you can
add a command line for the track you want to beemind (i.e. Javascript) and
it’ll push your points/exercises from that specific course. Hoping to spend
Saturday getting that up.

On Thu, Feb 28, 2013 at 11:17 AM, Allison Nelson <allison.nelson13@gmail.com

wrote:

Is there a way to track the number of exercises done rather than the
number of badges? As you progress more on codecademy I feel like it gets
harder to get badges. However, I still like going through and doing the
exercises.

Allison

On Thu, Feb 28, 2013 at 11:15 AM, Ben goldhaber.ben@gmail.com wrote:

I recently wrote a small python script to automatically beemind my
progress on codeacademy. It tracks the number of badges on a codeacademy
profile page through the BeautifulSoup screen scraping library, and then
updates a beeminder graph with the total. The github repo is
https://github.com/ghabs/beeacademy

I’d be really interested in any feedback, particularly any ‘refactoring’
advice to make it more resilient (i.e. if codeacademy changes their CSS
layout it would throw off the script). I’m also adapting it for codeschool
and udacity, in the hopes of making it easier to overcome akrasia with
regards to online education. Hope this helps!

Best,
Ben


You received this message because you are subscribed to the Google Groups
“Akratics Anonymous” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to akratics+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
“Akratics Anonymous” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to akratics+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I have made aesthetic changes to your code and added error handling.
There’s a pull request waiting for you on GitHub.

On 28 February 2013 16:42, Ben Goldhaber goldhaber.ben@gmail.com wrote:

Definitely. My plan is after getting this prelim script to work with
codeschool/udacity to work on a more extensive version of the screen
scrapping, so that you put in your user profile and it’ll pull all of the
info related to the different tracks, points, and badges. That way you can
add a command line for the track you want to beemind (i.e. Javascript) and
it’ll push your points/exercises from that specific course. Hoping to spend
Saturday getting that up.

On Thu, Feb 28, 2013 at 11:17 AM, Allison Nelson
allison.nelson13@gmail.com wrote:

Is there a way to track the number of exercises done rather than the
number of badges? As you progress more on codecademy I feel like it gets
harder to get badges. However, I still like going through and doing the
exercises.

Allison

On Thu, Feb 28, 2013 at 11:15 AM, Ben goldhaber.ben@gmail.com wrote:

I recently wrote a small python script to automatically beemind my
progress on codeacademy. It tracks the number of badges on a codeacademy
profile page through the BeautifulSoup screen scraping library, and then
updates a beeminder graph with the total. The github repo is
https://github.com/ghabs/beeacademy

I’d be really interested in any feedback, particularly any ‘refactoring’
advice to make it more resilient (i.e. if codeacademy changes their CSS
layout it would throw off the script). I’m also adapting it for codeschool
and udacity, in the hopes of making it easier to overcome akrasia with
regards to online education. Hope this helps!

Best,
Ben


You received this message because you are subscribed to the Google Groups
“Akratics Anonymous” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to akratics+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
“Akratics Anonymous” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to akratics+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
“Akratics Anonymous” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to akratics+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Excellent, made the merge!

On Thu, Feb 28, 2013 at 12:28 PM, Ben Eills ben@beneills.com wrote:

I have made aesthetic changes to your code and added error handling.
There’s a pull request waiting for you on GitHub.

On 28 February 2013 16:42, Ben Goldhaber goldhaber.ben@gmail.com wrote:

Definitely. My plan is after getting this prelim script to work with
codeschool/udacity to work on a more extensive version of the screen
scrapping, so that you put in your user profile and it’ll pull all of the
info related to the different tracks, points, and badges. That way you
can
add a command line for the track you want to beemind (i.e. Javascript)
and
it’ll push your points/exercises from that specific course. Hoping to
spend
Saturday getting that up.

On Thu, Feb 28, 2013 at 11:17 AM, Allison Nelson
allison.nelson13@gmail.com wrote:

Is there a way to track the number of exercises done rather than the
number of badges? As you progress more on codecademy I feel like it gets
harder to get badges. However, I still like going through and doing the
exercises.

Allison

On Thu, Feb 28, 2013 at 11:15 AM, Ben goldhaber.ben@gmail.com wrote:

I recently wrote a small python script to automatically beemind my
progress on codeacademy. It tracks the number of badges on a
codeacademy
profile page through the BeautifulSoup screen scraping library, and
then
updates a beeminder graph with the total. The github repo is
https://github.com/ghabs/beeacademy

I’d be really interested in any feedback, particularly any
‘refactoring’
advice to make it more resilient (i.e. if codeacademy changes their CSS
layout it would throw off the script). I’m also adapting it for
codeschool
and udacity, in the hopes of making it easier to overcome akrasia with
regards to online education. Hope this helps!

Best,
Ben


You received this message because you are subscribed to the Google
Groups
“Akratics Anonymous” group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to akratics+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google
Groups
“Akratics Anonymous” group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to akratics+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
“Akratics Anonymous” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to akratics+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
“Akratics Anonymous” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to akratics+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.