initial commit

This commit is contained in:
Jethro 2026-05-09 16:39:54 +12:00
parent ed99b8535a
commit df2b38dc99
2 changed files with 12 additions and 0 deletions

0
emoneyscraper/main.py Normal file
View file

12
emoneyscraper/scraper.py Normal file
View file

@ -0,0 +1,12 @@
from playwright.sync_api import sync_playwright, Playwright
def run(playwright: Playwright):
chromium = playwright.chromium # or "firefox" or "webkit".
browser = chromium.launch()
page = browser.new_page()
page.goto("http://example.com")
# other actions...
browser.close()
with sync_playwright() as playwright:
run(playwright)