wnwnw

다음웹툰 링크수정

...@@ -71,7 +71,7 @@ function getAllToons() { ...@@ -71,7 +71,7 @@ function getAllToons() {
71 //월요일 다음 웹툰 71 //월요일 다음 웹툰
72 var mon='mon'; 72 var mon='mon';
73 var mon_name='MON'; 73 var mon_name='MON';
74 - var daum = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/${mon}?timeStamp=1515819276574`; 74 + var daum = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/mon?timeStamp=1575877780449`;
75 var site = 'daum'; 75 var site = 'daum';
76 client.fetch(daum, {}, function (err, $, res, body) { 76 client.fetch(daum, {}, function (err, $, res, body) {
77 var data = JSON.parse(body); 77 var data = JSON.parse(body);
...@@ -95,7 +95,7 @@ function getAllToons() { ...@@ -95,7 +95,7 @@ function getAllToons() {
95 //화요일 다음 웹툰 95 //화요일 다음 웹툰
96 var tue='tue'; 96 var tue='tue';
97 var tue_name='TUE'; 97 var tue_name='TUE';
98 - var daum1 = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/${tue}?timeStamp=1515819276574`; 98 + var daum1 = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/tue?timeStamp=1575877814179`;
99 client.fetch(daum1, {}, function (err, $, res, body) { 99 client.fetch(daum1, {}, function (err, $, res, body) {
100 var data = JSON.parse(body); 100 var data = JSON.parse(body);
101 var list = data["data"]; 101 var list = data["data"];
...@@ -118,7 +118,7 @@ function getAllToons() { ...@@ -118,7 +118,7 @@ function getAllToons() {
118 //수요일 다음 웹툰 118 //수요일 다음 웹툰
119 var wed='wed'; 119 var wed='wed';
120 var wed_name='WED'; 120 var wed_name='WED';
121 - var daum2 = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/${wed}?timeStamp=1515819276574`; 121 + var daum2 = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/wed?timeStamp=1575877833390`;
122 122
123 client.fetch(daum2, {}, function (err, $, res, body) { 123 client.fetch(daum2, {}, function (err, $, res, body) {
124 var data = JSON.parse(body); 124 var data = JSON.parse(body);
...@@ -143,7 +143,7 @@ function getAllToons() { ...@@ -143,7 +143,7 @@ function getAllToons() {
143 143
144 //목요일 다음 웹툰 144 //목요일 다음 웹툰
145 var thu='thu'; 145 var thu='thu';
146 - var daum3 =`http://webtoon.daum.net/data/pc/webtoon/list_serialized/${thu}?timeStamp=1515819276574`; 146 + var daum3 =`http://webtoon.daum.net/data/pc/webtoon/list_serialized/thu?timeStamp=1575877858989`;
147 var thu_name='THU'; 147 var thu_name='THU';
148 client.fetch(daum3, {}, function (err, $, res, body) { 148 client.fetch(daum3, {}, function (err, $, res, body) {
149 var data = JSON.parse(body); 149 var data = JSON.parse(body);
...@@ -166,7 +166,7 @@ function getAllToons() { ...@@ -166,7 +166,7 @@ function getAllToons() {
166 166
167 //금요일 다음 웹툰 167 //금요일 다음 웹툰
168 var fri='fri'; 168 var fri='fri';
169 - var daum4 =`http://webtoon.daum.net/data/pc/webtoon/list_serialized/${fri}?timeStamp=1515819276574`; 169 + var daum4 =`http://webtoon.daum.net/data/pc/webtoon/list_serialized/fri?timeStamp=1575877889317`;
170 var fri_name='FRI'; 170 var fri_name='FRI';
171 client.fetch(daum4, {}, function (err, $, res, body) { 171 client.fetch(daum4, {}, function (err, $, res, body) {
172 var data = JSON.parse(body); 172 var data = JSON.parse(body);
...@@ -189,7 +189,7 @@ function getAllToons() { ...@@ -189,7 +189,7 @@ function getAllToons() {
189 189
190 //토요일 다음 웹툰 190 //토요일 다음 웹툰
191 var sat='sat'; 191 var sat='sat';
192 - var daum5 =`http://webtoon.daum.net/data/pc/webtoon/list_serialized/${sat}?timeStamp=1515819276574`; 192 + var daum5 =`http://webtoon.daum.net/data/pc/webtoon/list_serialized/sat?timeStamp=1575877911857`;
193 var sat_name='SAT'; 193 var sat_name='SAT';
194 client.fetch(daum5, {}, function (err, $, res, body) { 194 client.fetch(daum5, {}, function (err, $, res, body) {
195 var data = JSON.parse(body); 195 var data = JSON.parse(body);
...@@ -212,7 +212,7 @@ function getAllToons() { ...@@ -212,7 +212,7 @@ function getAllToons() {
212 212
213 //일요일 다음 웹툰 213 //일요일 다음 웹툰
214 var sun='sun'; 214 var sun='sun';
215 - var daum6 = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/${sun}?timeStamp=1515819276574`; 215 + var daum6 = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/sun?timeStamp=1575877949212`;
216 var sun_name='SUN'; 216 var sun_name='SUN';
217 client.fetch(daum6, {}, function (err, $, res, body) { 217 client.fetch(daum6, {}, function (err, $, res, body) {
218 var data = JSON.parse(body); 218 var data = JSON.parse(body);
...@@ -298,7 +298,7 @@ router.get('/', ...@@ -298,7 +298,7 @@ router.get('/',
298 res.render('index',{ 298 res.render('index',{
299 title: "니툰내툰", 299 title: "니툰내툰",
300 list: allWebtoons 300 list: allWebtoons
301 - 301 +
302 }); 302 });
303 } 303 }
304 }); 304 });
......