250x250
Notice
Recent Posts
Recent Comments
- Today
- Total
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- double quote
- single quote
- flutter
- Find
- JavaScript
- findByIdAndDelete
- til
- async
- sequelize
- atlas
- mongodb
- mongoose
- RDS
- TailwindCSS
- await
- Nodejs
- Node.js
- clipBehavior
- EC2
- wil
- css
- AWS
- nginx
- moment
- TypeScript
- certbot
- Express
- jsonwebtoken
- https
- MYSQL
Link
Archives
반응형
목록puppeteer (1)
기억 휘발 방지소
[Node.js] Puppeteer로 크롤링하기
📌 크롤링 크롤링이란 웹 페이지를 그대로 가져와서 거기서 데이터를 추출하는 행위를 말한다. 크롤링하는 SW는 크롤러(Crawler)라고 부른다. 📌 Puppeteer 파이썬에서 Selenium으로 크롤링을 하듯이 Node.js에서는 Puppeteer로 크롤링을 할 수 있다. 📌 Puppeteer 사용하기 아래 코드로 브라우저와 새 창을 띄우고 닫는 코드이다. const puppeteer = require("puppeteer"); const crawler = async () => { try { // 브라우저 생성 const browser = await puppeteer.launch({ headless: false }); // 새로운 페이지 생성 const page = await browser.newPage..
Web/Node.js
2021. 10. 29. 18:34
반응형