Comments (7)
Just saw this I will try to figure it out over the next couple days. Looks like they changed some of the code on the site which is why it isn't working I will have to get an updated version out. I will let you know what I find.
from pydukeenergy.
Any update on this?
from pydukeenergy.
I have looked at it some. Their API changed a little, but using the new one I still get SSL errors. I think something changed in a recent version of Python. I will have to look in to it some more.
from pydukeenergy.
from pydukeenergy.
from pydukeenergy.
Great! Glad you're taking a look. Yeah I noticed the signin/login thing too.
I didn't test in a browser interesting you're seeing an issue there...
from pydukeenergy.
Just created a pull request. It's my first time forking a repo, so hopefully I did it right and you can see the changes. I've got most of functional, at least I think so. But I was still getting a few errors. But feel free to look it over and see what you think.
On another note, I noticed you were scraping using BS4 to get the meter info from the usage analysis page, but I have NO CLUE how that ever worked. They are currently using javascript to fill that drop down list, so without using Selenium, I don't even know of a way to get those values using python. For that reason, I just added a way for the users to manually input their own meter numbers. Not ideal, but it gets it working.
Also added a way for the user to ignore SSL verification if they wish. It's still on by default, but it can be bypassed by using the "verify_ssl=False" flag in the constructor.
from pydukeenergy.
Related Issues (2)
- Project Foked HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydukeenergy.