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
Raspagem de dados com Puppeteer
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Diego Leite
January 19, 2019
Programming
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Raspagem de dados com Puppeteer
Diego Leite
January 19, 2019
More Decks by Diego Leite
See All by Diego Leite
Aprenda a fazer um site responsivo
di3goleite
0
57
Não deixe a Universidade atrapalhar seus ESTUDOS
di3goleite
0
54
Ferramentas "Mão na Roda" para ajudar nos projetos de vocês
di3goleite
0
66
Rodando aplicações de interface gráfica com Docker
di3goleite
0
700
Programação Assíncrona com JavaScript
di3goleite
0
78
Explore o mundo do IoT com o MATRIX Creator - Front In Salvador
di3goleite
0
85
Introdução ao React Native
di3goleite
0
180
eXtreme Go Horse (XGH)
di3goleite
0
810
Explore o mundo do IoT com o MATRIX Creator
di3goleite
0
120
Other Decks in Programming
See All in Programming
LaravelLive Japan の裏方のすべて — 第188回 PHP勉強会@東京 (2026-06-24)
suguruooki
2
100
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
610
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
370
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
400
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
170
Contextとはなにか
chiroruxx
1
370
Signal Forms: Details & Live Coding @enterJS 2026 in Mannheim
manfredsteyer
PRO
0
180
Agentic UI
manfredsteyer
PRO
0
190
1B+ /day規模のログを管理する技術
broadleaf
0
110
AI駆動開発を妨げる技術的負債の解消アプローチ / ai-refactoring-approach
minodriven
12
5.7k
Creating Composable Callables in Contemporary C++
rollbear
0
160
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.7k
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.6k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
400
Building Adaptive Systems
keathley
44
3.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Bash Introduction
62gerente
615
220k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
Crafting Experiences
bethany
1
190
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
250
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
220
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
850
Transcript
RASPAGEM DE DADOS COM PUPPETEER @di3goleite
DIEGO LEITE AdMobilize UEFS @di3goleite
@di3goleite
@di3goleite
• Introdução ao problema • O que é o puppeteer?
• Como o puppeteer funciona? • Alguns Exemplos • Demo • Conclusões ROTEIRO @di3goleite
INTRODUÇÃO AO PROBLEMA @di3goleite
INTRODUÇÃO AO PROBLEMA @di3goleite
INTRODUÇÃO AO PROBLEMA @di3goleite
INTRODUÇÃO AO PROBLEMA @di3goleite
PUPPETEER @di3goleite • É uma biblioteca para Node que fornece
uma API de alto nível para controlar o Chrome ou Chromium através do DevTools Protocol • Ele roda por padrão de forma headless mas pode ser configurado para executar com interface gráfica
COMO O PUPPETEER FUNCIONA? @di3goleite * CDP = Chrome DevTools
Protocol $ npm install puppeteer $ npm install puppeteer-core
PUPPETEER - SCREENSHOT @di3goleite
PUPPETEER - SCREENSHOT @di3goleite
PUPPETEER - LOGIN TO GITHUB @di3goleite
PUPPETEER - LOGIN TO GITHUB @di3goleite
PUPPETEER - LOGIN TO GITHUB @di3goleite
PUPPETEER - LOGIN TO GITHUB @di3goleite
PUPPETEER - LOGIN TO GITHUB @di3goleite
DEMO \o/ @di3goleite
CONCLUSÕES @di3goleite • Sempre remova a opção headless: false ao
colocar em produção • Sempre fique atento (a) ao rate limit da página que você está raspando
PERGUNTAS? Twitter e GitHub @di3goleite @di3goleite
OBRIGADO! @di3goleite