Commit 7f828863 authored by Lee SeoYeon's avatar Lee SeoYeon
Browse files

.

parent 8bd19e51
import Review from '../models/Review.js'
import cheerio from "cheerio";
import cheerio from "cheerio"; //크롤링
import fs from 'fs'
import axios from 'axios';
......@@ -9,7 +9,7 @@ import axios from 'axios';
const search = async (req, res, next) => {
//**************************구글 크롤링 할 때************************/
try {
let reviews = []
let reviews = []
let content = []
const url = "https://www.google.com/search?q=" + encodeURI(req.params.search) + "+site%3Atistory.com&page_no=1"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment