Mas é o JS quem paga "os boleto" 😒
<input/> 🤦🏽♂️
🤯
Headless Browser
PhantomJS
No GUI
Phantomjs como ferramenta.
Python + Splinter
Phantomjs: ~4s de startup
Sequencial?
DOM é lerdo
Use memória
Python 3?
E o PhantomJS também! 😅
Pacote Node.js com uma API de alto nível
Controla um headless Chrome ou Chromium
Código aberto
Screenshots
Automatizar submissão de forms
Gerar PDFs
Ambiente de Testes
Server Side Rendering (SSR)
https://try-puppeteer.appspot.com
Puppeteer + Chrome
Vanila JS
Headless Chrome: <1s de startup
Início quase imediato do Chrome
Esperar, você deve.
Async/Await all the things
A ordem dos itens não importa
A ordem das informações dos itens não importa
QUEM LIGA PARA ROBOTS.TXT?
DELAY É PARA OS FRACOS!
SE NÃO DEIXAR O CONTATO
NINGUÉM TE PEGA
https://matheuscas.github.io
@matheuscas
By Matheus Cardoso