김대선

puppeteer 관련 오류로 인한 puppeteer 재설치, puppeteer-core 설치

...@@ -15,7 +15,7 @@ const data = require('./functions/dataFunctions') ...@@ -15,7 +15,7 @@ const data = require('./functions/dataFunctions')
15 const find = require('./functions/findFunction') 15 const find = require('./functions/findFunction')
16 16
17 // 0초 0분 0시 아무날 아무달 아무년 17 // 0초 0분 0시 아무날 아무달 아무년
18 -const saveData = schedule.scheduleJob('55 45 20 * * *', data.save) 18 +const saveData = schedule.scheduleJob('55 54 18 * * *', data.save)
19 19
20 var app = express(); 20 var app = express();
21 app.use(bodyParser.json()); 21 app.use(bodyParser.json());
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
5 "requires": true, 5 "requires": true,
6 "dependencies": { 6 "dependencies": {
7 "@types/node": { 7 "@types/node": {
8 - "version": "15.0.2", 8 + "version": "15.12.1",
9 - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.0.2.tgz", 9 + "resolved": "https://registry.npmjs.org/@types/node/-/node-15.12.1.tgz",
10 - "integrity": "sha512-p68+a+KoxpoB47015IeYZYRrdqMUcpbK8re/zpFB8Ld46LHC1lPEbp3EXgkEhAYEcPvjJF6ZO+869SQ0aH1dcA==", 10 + "integrity": "sha512-zyxJM8I1c9q5sRMtVF+zdd13Jt6RU4r4qfhTd7lQubyThvLfx6yYekWSQjGCGV2Tkecgxnlpl/DNlb6Hg+dmEw==",
11 "optional": true 11 "optional": true
12 }, 12 },
13 "@types/yauzl": { 13 "@types/yauzl": {
...@@ -854,6 +854,19 @@ ...@@ -854,6 +854,19 @@
854 "brace-expansion": "^1.1.7" 854 "brace-expansion": "^1.1.7"
855 } 855 }
856 }, 856 },
857 + "minimist": {
858 + "version": "1.2.5",
859 + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
860 + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
861 + },
862 + "mkdirp": {
863 + "version": "0.5.5",
864 + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
865 + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
866 + "requires": {
867 + "minimist": "^1.2.5"
868 + }
869 + },
857 "mkdirp-classic": { 870 "mkdirp-classic": {
858 "version": "0.5.3", 871 "version": "0.5.3",
859 "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", 872 "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
...@@ -1082,6 +1095,70 @@ ...@@ -1082,6 +1095,70 @@
1082 } 1095 }
1083 } 1096 }
1084 }, 1097 },
1098 + "puppeteer-core": {
1099 + "version": "10.0.0",
1100 + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-10.0.0.tgz",
1101 + "integrity": "sha512-kaNsKhNYcayHnlwpkBf1w/lhyi1zUSHGLgh5z6DwhTbTrVN0pQHjWj7/TNBooop5Ehv0H7KFuH5QTbxrRFeDdA==",
1102 + "requires": {
1103 + "debug": "4.3.1",
1104 + "devtools-protocol": "0.0.883894",
1105 + "extract-zip": "2.0.1",
1106 + "https-proxy-agent": "5.0.0",
1107 + "node-fetch": "2.6.1",
1108 + "pkg-dir": "4.2.0",
1109 + "progress": "2.0.1",
1110 + "proxy-from-env": "1.1.0",
1111 + "rimraf": "3.0.2",
1112 + "tar-fs": "2.0.0",
1113 + "unbzip2-stream": "1.3.3",
1114 + "ws": "7.4.6"
1115 + },
1116 + "dependencies": {
1117 + "debug": {
1118 + "version": "4.3.1",
1119 + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
1120 + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
1121 + "requires": {
1122 + "ms": "2.1.2"
1123 + }
1124 + },
1125 + "devtools-protocol": {
1126 + "version": "0.0.883894",
1127 + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.883894.tgz",
1128 + "integrity": "sha512-33idhm54QJzf3Q7QofMgCvIVSd2o9H3kQPWaKT/fhoZh+digc+WSiMhbkeG3iN79WY4Hwr9G05NpbhEVrsOYAg=="
1129 + },
1130 + "ms": {
1131 + "version": "2.1.2",
1132 + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
1133 + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
1134 + },
1135 + "progress": {
1136 + "version": "2.0.1",
1137 + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.1.tgz",
1138 + "integrity": "sha512-OE+a6vzqazc+K6LxJrX5UPyKFvGnL5CYmq2jFGNIBWHpc4QyE49/YOumcrpQFJpfejmvRtbJzgO1zPmMCqlbBg=="
1139 + },
1140 + "tar-fs": {
1141 + "version": "2.0.0",
1142 + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.0.tgz",
1143 + "integrity": "sha512-vaY0obB6Om/fso8a8vakQBzwholQ7v5+uy+tF3Ozvxv1KNezmVQAiWtcNmMHFSFPqL3dJA8ha6gdtFbfX9mcxA==",
1144 + "requires": {
1145 + "chownr": "^1.1.1",
1146 + "mkdirp": "^0.5.1",
1147 + "pump": "^3.0.0",
1148 + "tar-stream": "^2.0.0"
1149 + }
1150 + },
1151 + "unbzip2-stream": {
1152 + "version": "1.3.3",
1153 + "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.3.3.tgz",
1154 + "integrity": "sha512-fUlAF7U9Ah1Q6EieQ4x4zLNejrRvDWUYmxXUpN3uziFYCHapjWFaCAnreY9bGgxzaMCFAPPpYNng57CypwJVhg==",
1155 + "requires": {
1156 + "buffer": "^5.2.1",
1157 + "through": "^2.3.8"
1158 + }
1159 + }
1160 + }
1161 + },
1085 "qs": { 1162 "qs": {
1086 "version": "6.7.0", 1163 "version": "6.7.0",
1087 "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", 1164 "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
...@@ -1395,9 +1472,9 @@ ...@@ -1395,9 +1472,9 @@
1395 "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 1472 "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
1396 }, 1473 },
1397 "ws": { 1474 "ws": {
1398 - "version": "7.4.5", 1475 + "version": "7.4.6",
1399 - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz", 1476 + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
1400 - "integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==" 1477 + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A=="
1401 }, 1478 },
1402 "yauzl": { 1479 "yauzl": {
1403 "version": "2.10.0", 1480 "version": "2.10.0",
......
...@@ -14,12 +14,13 @@ ...@@ -14,12 +14,13 @@
14 "author": "김대선", 14 "author": "김대선",
15 "license": "ISC", 15 "license": "ISC",
16 "dependencies": { 16 "dependencies": {
17 + "body-parser": "^1.19.0",
17 "cheerio": "^1.0.0-rc.9", 18 "cheerio": "^1.0.0-rc.9",
18 "express": "^4.17.1", 19 "express": "^4.17.1",
19 "node-schedule": "^2.0.0", 20 "node-schedule": "^2.0.0",
20 "puppeteer": "^9.1.1", 21 "puppeteer": "^9.1.1",
21 - "sanitize-html": "^2.3.3", 22 + "puppeteer-core": "^10.0.0",
22 - "body-parser": "^1.19.0", 23 + "request": "^2.88.2",
23 - "request": "^2.88.2" 24 + "sanitize-html": "^2.3.3"
24 } 25 }
25 } 26 }
......