Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Cheerio Demo
Search
Andrew Bloom
January 22, 2014
Programming
0
160
Cheerio Demo
Andrew Bloom
January 22, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
210
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
290
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
27
8.3k
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
140
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
810
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
350
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
110
Goのエラースタックトレースの歴史と今後
sonatard
9
1.5k
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
770
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
Milestoner
bkuhlmann
1
410
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
1.1k
Featured
See All Featured
The Invisible Side of Design
smashingmag
294
49k
Become a Pro
speakerdeck
PRO
11
4.5k
It's Worth the Effort
3n
180
27k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
2
3.4k
Web development in the modern age
philhawksworth
202
10k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
187
16k
Writing Fast Ruby
sferik
621
60k
GraphQLとの向き合い方2022年版
quramy
32
12k
What’s in a name? Adding method to the madness
productmarketing
PRO
16
2.6k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Transcript
Cheerio github.com/Ma2hewMueller/cheerio I’m Andrew Bloom (@andrewbloom)
Quick Example var cheerio = require('cheerio'), $ = cheerio.load('<h2
class="title">Hello world</h2>'); $('h2.title').text('Hello there!'); $('h2').addClass('welcome'); $.html(); //=> <h2 class="title welcome">Hello there!</h2>
Possible Uses • Scraping web pages • Web
server tesIng • HTML builder github.com/abloom/cheerio_demo