Commit 973b899a authored by baesangjune's avatar baesangjune
Browse files

채린이 머지 전

parent 609d4441
[{"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\index.js":"1","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\reportWebVitals.js":"2","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\Place.js":"3","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\Paginations.js":"4","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Search.js":"5"},{"size":1040,"mtime":1611254909400,"results":"6","hashOfConfig":"7"},{"size":375,"mtime":1611254909401,"results":"8","hashOfConfig":"7"},{"size":1551,"mtime":1611256661135,"results":"9","hashOfConfig":"7"},{"size":2199,"mtime":1611254909395,"results":"10","hashOfConfig":"7"},{"size":7353,"mtime":1611259355418,"results":"11","hashOfConfig":"7"},{"filePath":"12","messages":"13","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"13y9yvi",{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"16","messages":"17","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"18","messages":"19","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"20","messages":"21","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\index.js",[],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\reportWebVitals.js",[],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\Place.js",["22"],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\Paginations.js",[],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Search.js",["23","24","25","26","27","28"],{"ruleId":"29","severity":1,"message":"30","line":20,"column":6,"nodeType":"31","endLine":20,"endColumn":8,"suggestions":"32"},{"ruleId":"33","severity":1,"message":"34","line":15,"column":12,"nodeType":"35","messageId":"36","endLine":15,"endColumn":18},{"ruleId":"33","severity":1,"message":"37","line":16,"column":12,"nodeType":"35","messageId":"36","endLine":16,"endColumn":17},{"ruleId":"33","severity":1,"message":"38","line":17,"column":12,"nodeType":"35","messageId":"36","endLine":17,"endColumn":18},{"ruleId":"29","severity":1,"message":"39","line":64,"column":8,"nodeType":"31","endLine":64,"endColumn":10,"suggestions":"40"},{"ruleId":"33","severity":1,"message":"41","line":71,"column":11,"nodeType":"35","messageId":"36","endLine":71,"endColumn":17},{"ruleId":"42","severity":1,"message":"43","line":129,"column":35,"nodeType":"44","endLine":129,"endColumn":76},"react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'getReview'. Either include it or remove the dependency array.","ArrayExpression",["45"],"no-unused-vars","'mobile' is assigned a value but never used.","Identifier","unusedVar","'place' is assigned a value but never used.","'imgUrl' is assigned a value but never used.","React Hook useEffect has missing dependencies: 'getAssociation', 'getImg', and 'getPlace'. Either include them or remove the dependency array.",["46"],"'places' is assigned a value but never used.","react/jsx-no-duplicate-props","No duplicate props allowed","JSXAttribute",{"desc":"47","fix":"48"},{"desc":"49","fix":"50"},"Update the dependencies array to be: [getReview]",{"range":"51","text":"52"},"Update the dependencies array to be: [getAssociation, getImg, getPlace]",{"range":"53","text":"54"},[571,573],"[getReview]",[2084,2086],"[getAssociation, getImg, getPlace]"] [{"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\index.js":"1","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\reportWebVitals.js":"2","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\Place.js":"3","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\Paginations.js":"4","C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Search.js":"5"},{"size":1040,"mtime":1611254909400,"results":"6","hashOfConfig":"7"},{"size":375,"mtime":1611254909401,"results":"8","hashOfConfig":"7"},{"size":1551,"mtime":1611256661135,"results":"9","hashOfConfig":"7"},{"size":2199,"mtime":1611254909395,"results":"10","hashOfConfig":"7"},{"size":7426,"mtime":1611497108145,"results":"11","hashOfConfig":"7"},{"filePath":"12","messages":"13","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"13y9yvi",{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"16","messages":"17","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"18","messages":"19","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"20","messages":"21","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\index.js",[],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\reportWebVitals.js",[],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\Place.js",["22"],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Components\\Paginations.js",[],"C:\\Users\\노트북펜\\Desktop\\2021YDK\\search-page\\client\\src\\Pages\\Search.js",["23","24","25","26","27"],{"ruleId":"28","severity":1,"message":"29","line":20,"column":6,"nodeType":"30","endLine":20,"endColumn":8,"suggestions":"31"},{"ruleId":"32","severity":1,"message":"33","line":15,"column":12,"nodeType":"34","messageId":"35","endLine":15,"endColumn":18},{"ruleId":"32","severity":1,"message":"36","line":16,"column":12,"nodeType":"34","messageId":"35","endLine":16,"endColumn":17},{"ruleId":"28","severity":1,"message":"37","line":65,"column":8,"nodeType":"30","endLine":65,"endColumn":10,"suggestions":"38"},{"ruleId":"32","severity":1,"message":"39","line":72,"column":11,"nodeType":"34","messageId":"35","endLine":72,"endColumn":17},{"ruleId":"40","severity":1,"message":"41","line":130,"column":35,"nodeType":"42","endLine":130,"endColumn":76},"react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'getReview'. Either include it or remove the dependency array.","ArrayExpression",["43"],"no-unused-vars","'mobile' is assigned a value but never used.","Identifier","unusedVar","'place' is assigned a value but never used.","React Hook useEffect has missing dependencies: 'getAssociation', 'getImg', and 'getPlace'. Either include them or remove the dependency array.",["44"],"'places' is assigned a value but never used.","react/jsx-no-duplicate-props","No duplicate props allowed","JSXAttribute",{"desc":"45","fix":"46"},{"desc":"47","fix":"48"},"Update the dependencies array to be: [getReview]",{"range":"49","text":"50"},"Update the dependencies array to be: [getAssociation, getImg, getPlace]",{"range":"51","text":"52"},[571,573],"[getReview]",[2104,2106],"[getAssociation, getImg, getPlace]"]
\ No newline at end of file \ No newline at end of file
[0122/091810.668:ERROR:directory_reader_win.cc(43)] FindFirstFile: 지정된 경로를 찾을 수 없습니다. (0x3)
...@@ -55,6 +55,7 @@ function Search(props) { ...@@ -55,6 +55,7 @@ function Search(props) {
useEffect(() => { useEffect(() => {
getPlace() getPlace()
getImg() getImg()
getPlace()
getAssociation() getAssociation()
if (window.innerWidth < 960) { if (window.innerWidth < 960) {
setMobile(true) setMobile(true)
...@@ -142,6 +143,9 @@ function Search(props) { ...@@ -142,6 +143,9 @@ function Search(props) {
</InputGroup> </InputGroup>
</Form> </Form>
</Row> </Row>
<Image src = {imgUrl}/>
{time.toLocaleString()} {time.toLocaleString()}
<Row className="d-flex flex-wrap"> <Row className="d-flex flex-wrap">
{pagePlace.map((place, index) => { {pagePlace.map((place, index) => {
......
This diff is collapsed.
...@@ -18,7 +18,7 @@ const searchPlace = async (req, res) => { ...@@ -18,7 +18,7 @@ const searchPlace = async (req, res) => {
axios.get(url) axios.get(url)
.then(async (response) => { .then(async (response) => {
const html = response.data const html = response.data
fs.writeFileSync("googleReview", html, { encoding: 'utf-8' }) // fs.writeFileSync("googleReview", html, { encoding: 'utf-8' })
let $1 = cheerio.load(html); let $1 = cheerio.load(html);
let places = {} let places = {}
......
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