Open CreatiCoding opened 6 years ago
https://github.com/CreatiCoding/noti-manager/commit/5b5441e9dd01869433d28402b1c7be3f2e35fd58
클라이언트 사이드 렌더링을 포함하여 데이터를 파싱하는 부분을 작성하였습니다.
parser 모듈을 임시로 작성하여 사용할 수 있습니다.
const parser = require("./parser");
parser.requestGet("http://www.woowahan.com/#/recruit/tech").then(d => {
console.log(d.substr(d.indexOf("프론트"), d.indexOf("프론트") + 100));
d = d.substr(d.indexOf("프론트"));
console.log(d.substr(d.indexOf("프론트"), d.indexOf("프론트") + 100));
d = d.substr(d.indexOf("프론트"));
console.log(d.substr(d.indexOf("프론트"), d.indexOf("프론트") + 100));
d = d.substr(d.indexOf("프론트"));
});
서버사이드 Node.js, Express를 활용하여 원하는 데이터를 크롤링합니다.