I-DE daily data scrapper
Poorly coded proof of concept on scrapping daily consumption data from Iberdrola I-DE website. As I-DE API is blocked to automated querys with a catpcha, creative methods are needed.
This code will require dependencies like geckodriver, selenium and others not (yet) described here. Use at your own risk.
Part of this code is borrowed from https://github.com/hectorespert/python-oligo/tree/master/oligo
fast usage:
from niber import niber
connection = niber()
connection.login("username@mail.com","password")
watt = connection.watthourmeter()
print(watt)
consumo = connection.consumption()
print(consumo)