Giter Site home page Giter Site logo

Comments (7)

w1ll1am23 avatar w1ll1am23 commented on August 26, 2024

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.

FreeWillyB avatar FreeWillyB commented on August 26, 2024

Any update on this?

from pydukeenergy.

w1ll1am23 avatar w1ll1am23 commented on August 26, 2024

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.

FreeWillyB avatar FreeWillyB commented on August 26, 2024

from pydukeenergy.

FreeWillyB avatar FreeWillyB commented on August 26, 2024

from pydukeenergy.

w1ll1am23 avatar w1ll1am23 commented on August 26, 2024

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.

FreeWillyB avatar FreeWillyB commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.