Skip to content

Commit

Permalink
Update comcastBandwidth.py
Browse files Browse the repository at this point in the history
Looks like Comcast has changed the div layouts, this works as of 2012-08-20 on my account.

Also noticed they added: 'Note:enforcement of the 250GB data consumption threshold is currently suspended'
  • Loading branch information
askreet committed Aug 20, 2012
1 parent fcfc2a7 commit 8582d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comcastBandwidth.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def currentUsage(self):
resp = br.open(details_link)
log.info('Loaded details page')
details_page = resp.read()
usage_span = 'PrimaryColumnContent_UsedWrapper'
usage_span = 'UsedForThisDevice'
span_start = details_page.find(usage_span)
start = details_page.find('>', span_start) + 1
end = details_page.find('<', start)
Expand Down

0 comments on commit 8582d74

Please sign in to comment.