성준영

README.md 업데이트

...@@ -19,11 +19,12 @@ npm install -g klas-file-downloader ...@@ -19,11 +19,12 @@ npm install -g klas-file-downloader
19 19
20 > **WARNING!!** 패스워드가 @ 이외의 특수문자를 포함하고 있다면, 패스워드 앞에 \ 를 붙여주어야 합니다. 20 > **WARNING!!** 패스워드가 @ 이외의 특수문자를 포함하고 있다면, 패스워드 앞에 \ 를 붙여주어야 합니다.
21 21
22 +1. 강의의 특정 챕터의 파일만 다운로드하기
22 ``` 23 ```
23 -[DOWNLOAD SPECIPIC CHAPTER FILES]
24 klasFM -i 2012104095 -p \!123123\*123 24 klasFM -i 2012104095 -p \!123123\*123
25 - 25 +```
26 -[TO DOWNLOAD ALL FILES IN LECTURE] 26 +2. 강의의 전체 자료 다운로드하기
27 +```
27 klasFM -i 2012104095 -p \!123123\*123 --all 28 klasFM -i 2012104095 -p \!123123\*123 --all
28 ``` 29 ```
29 30
......
1 -0 info it worked if it ends with ok
2 -1 verbose cli [ '/usr/local/Cellar/node/7.3.0/bin/node',
3 -1 verbose cli '/usr/local/bin/npm',
4 -1 verbose cli 'publish' ]
5 -2 info using npm@3.10.10
6 -3 info using node@v7.3.0
7 -4 verbose publish [ '.' ]
8 -5 silly cache add args [ '.', null ]
9 -6 verbose cache add spec .
10 -7 silly cache add parsed spec Result {
11 -7 silly cache add raw: '.',
12 -7 silly cache add scope: null,
13 -7 silly cache add escapedName: null,
14 -7 silly cache add name: null,
15 -7 silly cache add rawSpec: '.',
16 -7 silly cache add spec: '/Users/junyoung/Library/Mobile Documents/com~apple~CloudDocs/Junyoung/Opensource/klas-file-downloader',
17 -7 silly cache add type: 'directory' }
18 -8 verbose addLocalDirectory /Users/junyoung/.npm/klas-file-downloader/0.0.5/package.tgz not in flight; packing
19 -9 verbose correctMkdir /Users/junyoung/.npm correctMkdir not in flight; initializing
20 -10 info lifecycle klas-file-downloader@0.0.5~prepublish: klas-file-downloader@0.0.5
21 -11 silly lifecycle klas-file-downloader@0.0.5~prepublish: no script for prepublish, continuing
22 -12 verbose tar pack [ '/Users/junyoung/.npm/klas-file-downloader/0.0.5/package.tgz',
23 -12 verbose tar pack '/Users/junyoung/Library/Mobile Documents/com~apple~CloudDocs/Junyoung/Opensource/klas-file-downloader' ]
24 -13 verbose tarball /Users/junyoung/.npm/klas-file-downloader/0.0.5/package.tgz
25 -14 verbose folder /Users/junyoung/Library/Mobile Documents/com~apple~CloudDocs/Junyoung/Opensource/klas-file-downloader
26 -15 verbose addLocalTarball adding from inside cache /Users/junyoung/.npm/klas-file-downloader/0.0.5/package.tgz
27 -16 verbose correctMkdir /Users/junyoung/.npm correctMkdir not in flight; initializing
28 -17 silly cache afterAdd klas-file-downloader@0.0.5
29 -18 verbose afterAdd /Users/junyoung/.npm/klas-file-downloader/0.0.5/package/package.json not in flight; writing
30 -19 verbose correctMkdir /Users/junyoung/.npm correctMkdir not in flight; initializing
31 -20 verbose afterAdd /Users/junyoung/.npm/klas-file-downloader/0.0.5/package/package.json written
32 -21 silly publish { name: 'klas-file-downloader',
33 -21 silly publish version: '0.0.5',
34 -21 silly publish description: 'Project that download lecture reference files from Klas',
35 -21 silly publish main: 'index.js',
36 -21 silly publish scripts: { test: 'echo "Error: no test specified" && exit 1' },
37 -21 silly publish repository:
38 -21 silly publish { type: 'git',
39 -21 silly publish url: 'git+https://github.com/sungjunyoung/klas-file-downloader.git' },
40 -21 silly publish keywords: [ 'klas', 'file', 'download', 'lecture' ],
41 -21 silly publish author: { name: 'sungjunyoung' },
42 -21 silly publish license: 'MIT',
43 -21 silly publish bugs: { url: 'https://github.com/sungjunyoung/klas-file-downloader/issues' },
44 -21 silly publish bin: { klasFD: './index.js' },
45 -21 silly publish homepage: 'https://sungjunyoung.github.io',
46 -21 silly publish dependencies:
47 -21 silly publish { args: '^2.4.1',
48 -21 silly publish cheerio: '^0.22.0',
49 -21 silly publish fs: '0.0.1-security',
50 -21 silly publish promise: '^7.1.1',
51 -21 silly publish querystring: '^0.2.0',
52 -21 silly publish read: '^1.0.7',
53 -21 silly publish request: '^2.81.0' },
54 -21 silly publish readme: '\n> # **IN-DEVELOPING**\n\n# klas-file-downloader\n\n경희대학교 클라스의 강의실 페이지에서 강의자료를 다운받는 npm 패키지입니다.\n\n## SCREENSHOT\n\n![screenshot_1](./screenshot_1.png)\n\n## INSTALL\n\n```\nnpm install -g klas-file-downloader \n```\n\n## USAGE\n\n> **WARNING!!** 패스워드가 @ 이외의 특수문자를 포함하고 있다면, 패스워드 앞에 \\ 를 붙여주어야 합니다. \n\n```\nklasFM -i 2012104095 -p \\!123123\\*123\n```\n\n### Options\n#### Global Options\n0. `-h / --help` : 도움말\n1. `-i / --id` : [required] 학번\n2. `-p / --pw` : [required] 비밀번호\n3. `-d / --downloadPath` : 다운로드 받을 경로\n4. `-a / --all` : 추가 시 선택한 강의의 전체 강의자료 다운로드\n\n\n---\nMIT License\n\nCopyright (c) 2017 Junyoung, Sung\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n',
55 -21 silly publish readmeFilename: 'README.md',
56 -21 silly publish gitHead: '107c874cc243910fc9f3c28f8f58fa557b0069ed',
57 -21 silly publish _id: 'klas-file-downloader@0.0.5',
58 -21 silly publish _shasum: '3c64bf6ddbdcfc891a0fad554f4d961d0a9c6ad5',
59 -21 silly publish _from: '.' }
60 -22 verbose getPublishConfig undefined
61 -23 silly mapToRegistry name klas-file-downloader
62 -24 silly mapToRegistry using default registry
63 -25 silly mapToRegistry registry https://registry.npmjs.org/
64 -26 silly mapToRegistry data Result {
65 -26 silly mapToRegistry raw: 'klas-file-downloader',
66 -26 silly mapToRegistry scope: null,
67 -26 silly mapToRegistry escapedName: 'klas-file-downloader',
68 -26 silly mapToRegistry name: 'klas-file-downloader',
69 -26 silly mapToRegistry rawSpec: '',
70 -26 silly mapToRegistry spec: 'latest',
71 -26 silly mapToRegistry type: 'tag' }
72 -27 silly mapToRegistry uri https://registry.npmjs.org/klas-file-downloader
73 -28 verbose publish registryBase https://registry.npmjs.org/
74 -29 silly publish uploading /Users/junyoung/.npm/klas-file-downloader/0.0.5/package.tgz
75 -30 verbose request uri https://registry.npmjs.org/klas-file-downloader
76 -31 verbose request sending authorization for write operation
77 -32 info attempt registry request try #1 at 3:52:14 PM
78 -33 verbose request using bearer token for auth
79 -34 verbose request id c0fe05e280b6f818
80 -35 http request PUT https://registry.npmjs.org/klas-file-downloader
81 -36 http 403 https://registry.npmjs.org/klas-file-downloader
82 -37 verbose headers { 'content-type': 'application/json',
83 -37 verbose headers 'cache-control': 'max-age=300',
84 -37 verbose headers 'content-length': '95',
85 -37 verbose headers 'accept-ranges': 'bytes',
86 -37 verbose headers date: 'Tue, 30 May 2017 06:52:19 GMT',
87 -37 verbose headers via: '1.1 varnish',
88 -37 verbose headers connection: 'keep-alive',
89 -37 verbose headers 'x-served-by': 'cache-nrt6135-NRT',
90 -37 verbose headers 'x-cache': 'MISS',
91 -37 verbose headers 'x-cache-hits': '0',
92 -37 verbose headers 'x-timer': 'S1496127136.831263,VS0,VE3712',
93 -37 verbose headers vary: 'Accept-Encoding' }
94 -38 verbose request invalidating /Users/junyoung/.npm/registry.npmjs.org/klas-file-downloader on PUT
95 -39 error publish Failed PUT 403
96 -40 verbose stack Error: "You cannot publish over the previously published version 0.0.5." : klas-file-downloader
97 -40 verbose stack at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:302:12)
98 -40 verbose stack at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:290:14)
99 -40 verbose stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:210:14)
100 -40 verbose stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:187:22)
101 -40 verbose stack at emitTwo (events.js:106:13)
102 -40 verbose stack at Request.emit (events.js:191:7)
103 -40 verbose stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1048:10)
104 -40 verbose stack at emitOne (events.js:96:13)
105 -40 verbose stack at Request.emit (events.js:188:7)
106 -40 verbose stack at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:969:12)
107 -41 verbose statusCode 403
108 -42 verbose pkgid klas-file-downloader
109 -43 verbose cwd /Users/junyoung/Library/Mobile Documents/com~apple~CloudDocs/Junyoung/Opensource/klas-file-downloader
110 -44 error Darwin 16.6.0
111 -45 error argv "/usr/local/Cellar/node/7.3.0/bin/node" "/usr/local/bin/npm" "publish"
112 -46 error node v7.3.0
113 -47 error npm v3.10.10
114 -48 error code E403
115 -49 error "You cannot publish over the previously published version 0.0.5." : klas-file-downloader
116 -50 error If you need help, you may report this error at:
117 -50 error <https://github.com/npm/npm/issues>
118 -51 verbose exit [ 1, true ]