λ¨ λͺμ€μ μ½λλ‘ λ€μν μΌν νλ«νΌμμ κ²°μ λ΄μμ κΈμ΄μ€μ!
- μ§μ νλ«νΌμ κ³μν΄μ μΆκ°λ μμ μ λλ€.
yarn add trackpurchase
import { NaverApp } from "trackpurchase";
const browser = await puppeteer.launch();
const page = await browser.newPage();
const module = NaverApp.NaverModuleFactory.create(page);
const crawlService = new NaverApp.NaverService(module);
await crawlService.normalLogin(id, password, 100);
const history = await crawlService.getHistory();
browser.close();
console.log(history);