AkahuSync/EmoneyScraper/main.py

12 lines
300 B
Python
Executable file

from scraper import Scraper
from playwright.sync_api import sync_playwright, Playwright
playwright = sync_playwright().start()
scraper = Scraper(playwright, True)
snapshot = scraper.get_snapshot()
transactions = scraper.get_transactions_parsed()
print(snapshot)
print(transactions)
scraper.close()