Showing
2 changed files
with
106 additions
and
17 deletions
... | @@ -3,8 +3,6 @@ | ... | @@ -3,8 +3,6 @@ |
3 | <component name="ChangeListManager"> | 3 | <component name="ChangeListManager"> |
4 | <list default="true" id="ffe1a490-8fdb-4611-8537-4d1c03c40b8d" name="Default" comment=""> | 4 | <list default="true" id="ffe1a490-8fdb-4611-8537-4d1c03c40b8d" name="Default" comment=""> |
5 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> | 5 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> |
6 | - <change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/package-lock.json" afterDir="false" /> | ||
7 | - <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" /> | ||
8 | <change beforePath="$PROJECT_DIR$/routes/daum.js" beforeDir="false" afterPath="$PROJECT_DIR$/routes/daum.js" afterDir="false" /> | 6 | <change beforePath="$PROJECT_DIR$/routes/daum.js" beforeDir="false" afterPath="$PROJECT_DIR$/routes/daum.js" afterDir="false" /> |
9 | </list> | 7 | </list> |
10 | <ignored path="$PROJECT_DIR$/out/" /> | 8 | <ignored path="$PROJECT_DIR$/out/" /> |
... | @@ -62,9 +60,10 @@ | ... | @@ -62,9 +60,10 @@ |
62 | <entry key="project.open.time.11" value="2" /> | 60 | <entry key="project.open.time.11" value="2" /> |
63 | <entry key="project.open.time.15" value="2" /> | 61 | <entry key="project.open.time.15" value="2" /> |
64 | <entry key="project.open.time.16" value="2" /> | 62 | <entry key="project.open.time.16" value="2" /> |
63 | + <entry key="project.open.time.17" value="1" /> | ||
65 | <entry key="project.open.time.2" value="1" /> | 64 | <entry key="project.open.time.2" value="1" /> |
66 | <entry key="project.open.time.6" value="1" /> | 65 | <entry key="project.open.time.6" value="1" /> |
67 | - <entry key="project.opened" value="9" /> | 66 | + <entry key="project.opened" value="10" /> |
68 | </counts> | 67 | </counts> |
69 | </usages-collector> | 68 | </usages-collector> |
70 | <usages-collector id="statistics.file.extensions.open"> | 69 | <usages-collector id="statistics.file.extensions.open"> |
... | @@ -89,13 +88,13 @@ | ... | @@ -89,13 +88,13 @@ |
89 | <usages-collector id="statistics.file.extensions.edit"> | 88 | <usages-collector id="statistics.file.extensions.edit"> |
90 | <counts> | 89 | <counts> |
91 | <entry key="ejs" value="63" /> | 90 | <entry key="ejs" value="63" /> |
92 | - <entry key="js" value="426" /> | 91 | + <entry key="js" value="934" /> |
93 | </counts> | 92 | </counts> |
94 | </usages-collector> | 93 | </usages-collector> |
95 | <usages-collector id="statistics.file.types.edit"> | 94 | <usages-collector id="statistics.file.types.edit"> |
96 | <counts> | 95 | <counts> |
97 | <entry key="EJS" value="63" /> | 96 | <entry key="EJS" value="63" /> |
98 | - <entry key="JavaScript" value="426" /> | 97 | + <entry key="JavaScript" value="934" /> |
99 | </counts> | 98 | </counts> |
100 | </usages-collector> | 99 | </usages-collector> |
101 | </session> | 100 | </session> |
... | @@ -141,8 +140,8 @@ | ... | @@ -141,8 +140,8 @@ |
141 | <file pinned="false" current-in-tab="true"> | 140 | <file pinned="false" current-in-tab="true"> |
142 | <entry file="file://$PROJECT_DIR$/routes/daum.js"> | 141 | <entry file="file://$PROJECT_DIR$/routes/daum.js"> |
143 | <provider selected="true" editor-type-id="text-editor"> | 142 | <provider selected="true" editor-type-id="text-editor"> |
144 | - <state relative-caret-position="190"> | 143 | + <state relative-caret-position="274"> |
145 | - <caret line="10" column="30" selection-start-line="10" selection-start-column="30" selection-end-line="10" selection-end-column="30" /> | 144 | + <caret line="88" lean-forward="true" selection-start-line="88" selection-end-line="88" /> |
146 | </state> | 145 | </state> |
147 | </provider> | 146 | </provider> |
148 | </entry> | 147 | </entry> |
... | @@ -278,9 +277,9 @@ | ... | @@ -278,9 +277,9 @@ |
278 | </packageJsonPaths> | 277 | </packageJsonPaths> |
279 | </component> | 278 | </component> |
280 | <component name="ProjectFrameBounds" extendedState="6"> | 279 | <component name="ProjectFrameBounds" extendedState="6"> |
281 | - <option name="x" value="-9" /> | 280 | + <option name="x" value="-8" /> |
282 | - <option name="width" value="978" /> | 281 | + <option name="width" value="977" /> |
283 | - <option name="height" value="1039" /> | 282 | + <option name="height" value="1038" /> |
284 | </component> | 283 | </component> |
285 | <component name="ProjectLevelVcsManager" settingsEditedManually="true" /> | 284 | <component name="ProjectLevelVcsManager" settingsEditedManually="true" /> |
286 | <component name="ProjectView"> | 285 | <component name="ProjectView"> |
... | @@ -480,6 +479,7 @@ | ... | @@ -480,6 +479,7 @@ |
480 | <workItem from="1543286438979" duration="9178000" /> | 479 | <workItem from="1543286438979" duration="9178000" /> |
481 | <workItem from="1543299644956" duration="10319000" /> | 480 | <workItem from="1543299644956" duration="10319000" /> |
482 | <workItem from="1543393354798" duration="25000" /> | 481 | <workItem from="1543393354798" duration="25000" /> |
482 | + <workItem from="1543459526992" duration="2772000" /> | ||
483 | </task> | 483 | </task> |
484 | <task id="LOCAL-00001" summary="초기 commit by intellij"> | 484 | <task id="LOCAL-00001" summary="초기 commit by intellij"> |
485 | <created>1512174269218</created> | 485 | <created>1512174269218</created> |
... | @@ -499,7 +499,7 @@ | ... | @@ -499,7 +499,7 @@ |
499 | <servers /> | 499 | <servers /> |
500 | </component> | 500 | </component> |
501 | <component name="TimeTrackingManager"> | 501 | <component name="TimeTrackingManager"> |
502 | - <option name="totallyTimeSpent" value="192288000" /> | 502 | + <option name="totallyTimeSpent" value="195060000" /> |
503 | </component> | 503 | </component> |
504 | <component name="TodoView"> | 504 | <component name="TodoView"> |
505 | <todo-panel id="selected-file"> | 505 | <todo-panel id="selected-file"> |
... | @@ -512,6 +512,7 @@ | ... | @@ -512,6 +512,7 @@ |
512 | </component> | 512 | </component> |
513 | <component name="ToolWindowManager"> | 513 | <component name="ToolWindowManager"> |
514 | <frame x="-7" y="-7" width="1550" height="838" extended-state="6" /> | 514 | <frame x="-7" y="-7" width="1550" height="838" extended-state="6" /> |
515 | + <editor active="true" /> | ||
515 | <layout> | 516 | <layout> |
516 | <window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.48880598" visible="true" weight="0.16523464" /> | 517 | <window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.48880598" visible="true" weight="0.16523464" /> |
517 | <window_info id="Structure" order="1" weight="0.24964234" /> | 518 | <window_info id="Structure" order="1" weight="0.24964234" /> |
... | @@ -750,8 +751,8 @@ | ... | @@ -750,8 +751,8 @@ |
750 | </entry> | 751 | </entry> |
751 | <entry file="file://$PROJECT_DIR$/routes/daum.js"> | 752 | <entry file="file://$PROJECT_DIR$/routes/daum.js"> |
752 | <provider selected="true" editor-type-id="text-editor"> | 753 | <provider selected="true" editor-type-id="text-editor"> |
753 | - <state relative-caret-position="190"> | 754 | + <state relative-caret-position="274"> |
754 | - <caret line="10" column="30" selection-start-line="10" selection-start-column="30" selection-end-line="10" selection-end-column="30" /> | 755 | + <caret line="88" lean-forward="true" selection-start-line="88" selection-end-line="88" /> |
755 | </state> | 756 | </state> |
756 | </provider> | 757 | </provider> |
757 | </entry> | 758 | </entry> | ... | ... |
1 | var client = require('cheerio-httpcli'); | 1 | var client = require('cheerio-httpcli'); |
2 | +//월요일 웹툰 | ||
3 | +var mon='mon' | ||
4 | +var daum = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/${mon}?timeStamp=1515819276574`; | ||
2 | 5 | ||
3 | -var today = String(new Date).split(" ")[0].toLowerCase(); | 6 | +client.fetch(daum, {}, function (err, $, res, body) { |
4 | -var daum = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/${today}?timeStamp=1515819276574`; | 7 | + var data = JSON.parse(body); |
8 | + var list = data["data"]; | ||
9 | + | ||
10 | + list.forEach(function(item, idx){ | ||
11 | + //다음 웹툰 아이디, 제목, 요일 | ||
12 | + console.log(item.id + ' ' + item.title + ' ' + mon); | ||
13 | + }); | ||
14 | + | ||
15 | +}); | ||
16 | + | ||
17 | +//화요일 웹툰 | ||
18 | +var tue='tue' | ||
19 | +var daum = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/${tue}?timeStamp=1515819276574`; | ||
20 | + | ||
21 | +client.fetch(daum, {}, function (err, $, res, body) { | ||
22 | + var data = JSON.parse(body); | ||
23 | + var list = data["data"]; | ||
24 | + | ||
25 | + list.forEach(function(item, idx){ | ||
26 | + //다음 웹툰 아이디, 제목, 요일 | ||
27 | + console.log(item.id + ' ' + item.title + ' ' + tue); | ||
28 | + }); | ||
29 | + | ||
30 | +}); | ||
31 | + | ||
32 | +//수요일 웹툰 | ||
33 | +var wed='wed' | ||
34 | +var daum = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/${wed}?timeStamp=1515819276574`; | ||
35 | + | ||
36 | +client.fetch(daum, {}, function (err, $, res, body) { | ||
37 | + var data = JSON.parse(body); | ||
38 | + var list = data["data"]; | ||
39 | + | ||
40 | + list.forEach(function(item, idx){ | ||
41 | + //다음 웹툰 아이디, 제목, 요일 | ||
42 | + console.log(item.id + ' ' + item.title + ' ' + wed); | ||
43 | + }); | ||
44 | + | ||
45 | +}); | ||
46 | + | ||
47 | +//목요일 웹툰 | ||
48 | +var thu='thu' | ||
49 | +var daum = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/${thu}?timeStamp=1515819276574`; | ||
50 | +client.fetch(daum, {}, function (err, $, res, body) { | ||
51 | + var data = JSON.parse(body); | ||
52 | + var list = data["data"]; | ||
53 | + | ||
54 | + list.forEach(function(item, idx){ | ||
55 | + //다음 웹툰 아이디, 제목, 요일 | ||
56 | + console.log(item.id + ' ' + item.title + ' ' + thu); | ||
57 | + }); | ||
58 | + | ||
59 | +}); | ||
60 | + | ||
61 | +//금요일웹툰 | ||
62 | +var fri='fri'; | ||
63 | +var daum1 = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/${fri}?timeStamp=1515819276574`; | ||
64 | +client.fetch(daum1, {}, function (err, $, res, body) { | ||
65 | + var data = JSON.parse(body); | ||
66 | + var list1 = data["data"]; | ||
67 | + | ||
68 | + list1.forEach(function(item, idx){ | ||
69 | + //다음 웹툰 아이디, 제목, 요일 | ||
70 | + console.log(item.id + ' ' + item.title + ' ' + fri); | ||
71 | + }); | ||
72 | + | ||
73 | +}); | ||
74 | + | ||
75 | +//토요일 웹툰 | ||
76 | +var sat='sat' | ||
77 | +var daum = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/${sat}?timeStamp=1515819276574`; | ||
78 | + | ||
79 | +client.fetch(daum, {}, function (err, $, res, body) { | ||
80 | + var data = JSON.parse(body); | ||
81 | + var list = data["data"]; | ||
82 | + | ||
83 | + list.forEach(function(item, idx){ | ||
84 | + //다음 웹툰 아이디, 제목, 요일 | ||
85 | + console.log(item.id + ' ' + item.title + ' ' + sat); | ||
86 | + }); | ||
87 | + | ||
88 | +}); | ||
89 | + | ||
90 | +//일요일 웹툰 | ||
91 | +var sun='sun' | ||
92 | +var daum = `http://webtoon.daum.net/data/pc/webtoon/list_serialized/${sun}?timeStamp=1515819276574`; | ||
5 | 93 | ||
6 | client.fetch(daum, {}, function (err, $, res, body) { | 94 | client.fetch(daum, {}, function (err, $, res, body) { |
7 | var data = JSON.parse(body); | 95 | var data = JSON.parse(body); |
8 | var list = data["data"]; | 96 | var list = data["data"]; |
9 | 97 | ||
10 | list.forEach(function(item, idx){ | 98 | list.forEach(function(item, idx){ |
11 | - //다음 오늘의 웹툰 아이디, 제목, 날짜 | 99 | + //다음 웹툰 아이디, 제목, 요일 |
12 | - console.log(item.id + ' ' + item.title + ' ' + item.weekday); | 100 | + console.log(item.id + ' ' + item.title + ' ' + sun); |
13 | }); | 101 | }); |
14 | 102 | ||
15 | }); | 103 | }); |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment