Giter Club home page Giter Club logo

adp-scrape's People

Contributors

dgadling avatar

Stargazers

 avatar

Watchers

 avatar  avatar

adp-scrape's Issues

Handle multiple pay stubs on the same date

If you get a bonus, it tends to show up as another pay stub on the same date as your normal pay date. That's not handled very well right now (you'll only get one, who knows which?!).
fixitfixitfixit

login failure

I tried using this handy looking tool recently but got the following crash:

  File "/home/tombrown/.pyenv/versions/adp-scrape/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/tombrown/.pyenv/versions/adp-scrape/lib/python3.6/site-packages/adp-1.0-py3.6.egg/adp.py", line 203, in cli
  File "/home/tombrown/.pyenv/versions/adp-scrape/lib/python3.6/site-packages/adp-1.0-py3.6.egg/adp.py", line 180, in download_needed
  File "/home/tombrown/.pyenv/versions/adp-scrape/lib/python3.6/site-packages/adp-1.0-py3.6.egg/adp.py", line 78, in get_uid
  File "/home/tombrown/.pyenv/versions/3.6.8/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/home/tombrown/.pyenv/versions/3.6.8/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/home/tombrown/.pyenv/versions/3.6.8/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I ran it in a debugger and the requests response looks different from when I try an incorrect password.

Using Chrome's Copy as cURL it looks like there is a bunch of data (a few kB that look almost like base64url encoded binary except for some single %3D in the middle of the values) included with the POST data beyond basics currently sent by adp.py. With curl when the extra data is included I get a good login response and with only user, password, target, redirectUrl I get an error. I don't see these values in the HTML form hidden inputs so I'm guessing they are added by javascript. I haven't found them in the javascript yet.

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.