Giter Club home page Giter Club logo

filed's Introduction

Filed

Modular scraping framework for retrieving statements online and saving to cloud storage provider (Google Drive).

Setup

  1. Download dependencies using requirements.txt: pip install -r requirements.txt
  2. Edit 'accounts.json' file with your accounts
  3. Turn on Google Drive API as instructed here (and add created 'client_secret.json' to project root): https://developers.google.com/drive/v3/web/quickstart/python
  4. Create 'logs', 'tmp', and '.credentials' directories
  5. Start Selenium node server (for certain scrapers). See this great tutorial on Dockerized Selenium: https://github.com/SeleniumHQ/docker-selenium

Run

python Filed.py --logging_level DEBUG --noauth_local_webserver

'--noauth_local_webserver' needs to only be run the first time for Google Drive setup

'--logging_level' supports multiple modes (INFO, WARN, etc.)

python Filed.py -s 12:01

Schedules Filed to run every day at 12:01 PM

Notes

  • Most scrapers do not have paging logic to pull full account history. Assumes that most accounts have recent statements in Google Drive (the ADP scraper currently does support full account history)
  • Google Drive folder id's can be found by right clicking on the folder and selecting 'Get Link' (copy from end of hyperlink)
  • See working scrapers list below.

To-Do

  • Refactor account json file and loop logic for cleanliness
  • Add complete statement history pull to scraper logic
  • Abstract Google Drive from single source cloud provider
  • Finish LastPass vault integration
  • Clean up and reorganize logging

Working Scrapers

Name URL Full History
TD Bank tdbank.com no
ADP ipay.adp.com yes
Benefit Wallet mybenefitwallet.com no
Pepco pepco.com no
Barclaycard barclaycardus.com maybe
Vanguard personal.vanguard.com yes
Verizon verizonwireless.com yes
Prosper prosper.com maybe

Working On

  • Fidelity - statements use CSS print selectors
  • Chase - javascript generated key

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.