- Made new firefox-headless browser the new default browser (since it works)
- Added options to firefox-headless to avoid bot checks when getting usage from xfinity's site
- Cleaned up -b argument help message and choices
- Updated README with information about usage in Docker & kubernetes
- New maintainer: @billimek
- I'm canceling my Xfinity service and switching to AT&T Fiber. Updated README stating that I'm looking for a new maintainer for the project.
- Get raw JSON data from the
https://customer.xfinity.com/apis/services/internet/usage
endpoint. - If the above succeeds, use this for data source instead of screen-scraping the page.
- Add raw JSON data from above to output in "raw" key.
- Add scrape time to JSON output in "data_timestamp" key.
- Fix
run()
method exception handler calling.quit()
on missingbrowser
attribute whenget_browser()
raises an exception, causing a confusing traceback. - Fix issue where
remember_me
checkbox is not clickable using Chrome Headless, resulting in "Element is not clickable" / "Other element would receive the click" error.
- Update README.rst with example of Python usage.
- Fix CHANGELOG formatting
- Package as a real Python package and upload to PyPI; this changes the layout
of the repository, but if you want to use the previous script unmodified you
can now do so via
pip install xfinity-usage
instead of having to git clone. - Add support for unit tests, but no real tests yet
- Add support for optionally sending metrics to a Graphite instance.
- Update for redesign that removed
ng-if="device.usage"
element.
- Merge PR #6 from ericzinnikas to handle reporting used amount even if it is over data cap.
- Added VERSION constant and began tagging git repo for releases
- Updated User-Agent string to latest chrome, with "xfinity-usage/VERSION" appended.
- Exposed
browser_name
parameter on class and as command line argument to allow use with browsers other than phantomjs. - Added headless chromedriver browser option.
- Set window size to 1024x768 for all browser types.
- making more friendly for invocation as a class
- clarify PhantomJS requirement of 2.x (2.1.1 recommended)
- remove superfluous print statement introduced in last commit
- update for My Account redesign
- ensure we quit browser before exiting, to prevent orphaned phantomjs procs
- make more reliable by not saving or loading cookies
- more complicated wait logic to handle redirects and long page loads
- update for difference in form after "Remember Me"
- initial version of script