Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
GDG Suwon DevFest 2019 - 황병렬 님
Search
GDG Suwon
November 05, 2019
Technology
320
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GDG Suwon DevFest 2019 - 황병렬 님
이 책을 빌릴 수 있을 까? - 황병렬 (Javascript 개발자)
GDG Suwon
November 05, 2019
More Decks by GDG Suwon
See All by GDG Suwon
IO Extended doubleS - Day1 Keynote
gdg
0
140
IO Extended doubleS - Day2 Keynote
gdg
0
120
일어나세요 용사님 Keynote
gdg
0
300
GDG DevFest Suwon 2019 Keynote
gdg
0
180
GDG DevFest Suwon 2019 조은
gdg
0
180
GDG DevFest Suwon 2019 - 이용이
gdg
0
480
GDG DevFest Suwon 2019 - 신해나라
gdg
0
270
GDG DevFest Suwon 2019 - 배재용
gdg
0
240
IO19 Extended Suwon Keynote
gdg
1
190
Other Decks in Technology
See All in Technology
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
120
生成AIを使って「人が」考える技術 ― AI時代の人機共想と実践ノウハウ|UNITT AC2026
ishiirikie
0
560
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
240
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
7
1.5k
Deep Data Security 機能解説
oracle4engineer
PRO
2
720
SDDの運用にめげずに向き合った話
sansantech
PRO
1
140
自作バイナリを動かす「入口」8選
puhitaku
1
1k
LocalStack を使ったサーバーレスアプリケーション開発 / Serverless Development with LocalStack
kakakakakku
1
310
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
6
1.3k
IoTデバイスを繋げるプロトコルMatterをAndroidで使用する方法
harutiro
0
120
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
330
転んだ話が背中を預ける理由になる / A_story_about_falling_down_gives_you_a_reason_to_watch_each_other_s_backs.pdf
pauli
3
330
Featured
See All Featured
Writing Fast Ruby
sferik
630
63k
Site-Speed That Sticks
csswizardry
13
1.6k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
440
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
270
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
560
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
260
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
510
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
490
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
570
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
66k
Transcript
이 책을 빌릴 수 있을까? Bob Hwang JavaScript Developer
안녕하세요 Bob 입니다. • 자바스크립트 개발자입니다. • 취미도 자바스크립트 개발입니다.
• C -> Java -> JavaScript • 나이 많음
어느날 • 제가 빌리고 싶은 책이 도서관에 없었습니다. • 이미
도서관에 왔는데 말이죠. • 이미 누군가가 빌려간 것입니다. • 음..
빌려갔는지 미리 알아보는 방법 • 리브로피아를 앱을 설치한다. (싫다) •
브라우저를 열어 각각 도서관을… (귀찮..) • 나만 사용할 것임으로 최대한 간단하게.. • 터미널에서 봐야 있어보인다.
Open API가 없다. 동네 도서관에는 공개적으로 접근할 수 있는 HTTP
API가 없습니다. (아직 찾지 못함)
브라우저 없이 웹 데이터를 읽자 • cUrl • HTTPie •
Node.js with request module
웹 데이터를 읽기 위한 데이터 • URL • CSS Selector
• 위의 두 데이터를 확인하려면 브라우저가 필요합니다.
cUrl 사용해서 데이터 읽는 법 아래 명령으로 제 블로그에서 읽은
횟수를 확인할 수 있습니다. curl -s https://agvim.com/ | hgrep -t '#blog-stats-22 > ul > li'
Node.js 사용해서 데이터 읽는 법 req.post({ url: 'http://hscitylib.or.kr/kolaseek/booksearch/plusSearchResultList.do', exist: !isRented($value.find('ul
> li > dl > dd > span').text().trim()) • Use request • Use jsdom • Use jquery
도서관마다 조금씩 다르게 찾기 미안합니다. 아직 수원도서관은 업데이트를 못했습니다.
터미널에서 사용하기 npm install dongnelibrary -g dongnelibrary -i
모듈로 사용하기. https://www.npmjs.com/package/dongn elibrary const dl = require('dongnelibrary'); dl.search({......
웹에서 사용하기 https://dlserver.herokuapp.com/app/
저는 이렇게 사용합니다. dongne() { docker run --rm frontendwordpress/dongnelibrary dongnelibrary
-l 판교,동탄,분당 -t "$@" }
감사합니다. 이 작업의 좋은 점을 물으신다면!
이런 작업의 좋은 점 • 과정이 즐겁습니다. • 남겨두면 다른
사람과 이야기 거리가 됩니다. • 피드백을 받을 수 있습니다.
깃헙 링크입니다. https://github.com/afrontend/dongnelibrary https://github.com/afrontend/dlserver https://afrontend.github.io/