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
Diego Leite
January 19, 2019
Programming
180
0
Share
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
54
Não deixe a Universidade atrapalhar seus ESTUDOS
di3goleite
0
53
Ferramentas "Mão na Roda" para ajudar nos projetos de vocês
di3goleite
0
64
Rodando aplicações de interface gráfica com Docker
di3goleite
0
700
Programação Assíncrona com JavaScript
di3goleite
0
76
Explore o mundo do IoT com o MATRIX Creator - Front In Salvador
di3goleite
0
82
Introdução ao React Native
di3goleite
0
170
eXtreme Go Horse (XGH)
di3goleite
0
800
Explore o mundo do IoT com o MATRIX Creator
di3goleite
0
120
Other Decks in Programming
See All in Programming
実用!Hono RPC2026
yodaka
2
230
Angular Signal Forms
debug_mode
0
110
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
180
AWSコミュニティ活動は顧客のクラウド推進に効くのか / Do AWS community activities help customers adopt the cloud?
seike460
PRO
0
140
Coding as Prompting Since 2025
ragingwind
0
840
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
270
How We Benchmarked Quarkus: Patterns and anti-patterns
hollycummins
1
150
Spec Driven Development | AI Summit Vilnius
danielsogl
PRO
1
110
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
250
書籍「ユーザーストーリーマッピング」が私のバイブル
asumikam
4
370
AWS re:Invent 2025の少し振り返り + DevOps AgentとBacklogを連携させてみた
satoshi256kbyte
3
160
PDI: Como Alavancar Sua Carreira e Seu Negócio
marcelgsantos
0
120
Featured
See All Featured
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.4k
New Earth Scene 8
popppiees
3
2.1k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Paper Plane (Part 1)
katiecoart
PRO
0
6.7k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
100
Claude Code のすすめ
schroneko
67
220k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
120
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