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
Raspagem de dados com Puppeteer
Search
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
58
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
68
Rodando aplicações de interface gráfica com Docker
di3goleite
0
710
Programação Assíncrona com JavaScript
di3goleite
0
79
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
830
Explore o mundo do IoT com o MATRIX Creator
di3goleite
0
130
Other Decks in Programming
See All in Programming
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
4.8k
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
270
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
260
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
250
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
420
Androidだけじゃない、DroidKaigiで広がった私の技術スタック
akkeylab
0
110
フロントエンドUIフレームワークのこれまでとこれから
ssssota
5
3.1k
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
180
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
330
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
520
SREの越境 / SRE Collaboration
y0hgi
2
290
Heart of Swift Concurrency
koher
0
1.1k
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
240
Leo the Paperboy
mayatellez
10
2.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
270
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The Limits of Empathy - UXLibs8
cassininazir
1
690
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Darren the Foodie - Storyboard
khoart
PRO
4
4k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
590
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