AkahuSync/emoneyscraper/main.py

12 lines
316 B
Python
Raw Normal View History

from scraper import Scraper
from playwright.sync_api import sync_playwright, Playwright
playwright = sync_playwright().start()
scraper = Scraper(playwright, True)
print(scraper.get_balance())
transactions = scraper.get_transactions()
parsed = scraper.parse_transactions(transactions)
print(parsed)
scraper.close()