SKILL

superdopovo-encartes

Baixa todos os encartes vigentes do Super do Povo Supermercados (todas as páginas em alta resolução). Use quando o usuário mencionar "baixar encartes Super do Povo", "encartes Super do Povo", "encartes SDP", ou colar a URL loja.superdopovo.com.br/booklets.

Original · translation did not pass checks

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original text

Topics in the source

  • Super do Povo Encartes Downloader
  • Setup (só na primeira vez)
  • Comando padrão
  • Como funciona
  • Por que PDF em vez das imagens prontas (sheets)
  • Estrutura de saída
  • Opções
  • Comportamento ao acionar

Baixa todos os encartes vigentes e todas as suas páginas via Playwright (navegador headless) + rasterização de PDF com poppler. O próprio JS do site autentica e lista os encartes; o script intercepta a resposta e, para cada encarte, baixa o PDF (quando existe) rasterizando cada página em alta resolução — só cai para as imagens prontas do site quando não há PDF. O Chromium do Playwright é baixado automaticamente no primeiro npm install (via npx playwright install chromium se necessário). Saída: /Downloads/Encartes/SuperDoPovo/DD-Mês/ 1. Abre Chromium headless e navega para loja.superdopovo.com.br/booklets 2. Intercepta a resposta de rede de /api/v1/booklets/ — o site é um SPA da plataforma botvendas e essa rota exige um JWT de curta duração que o próprio JS obtém sozinho (não dá pra chamar a API direto com curl) 3. Filtra por vigência: mantém só encartes com end >= hoje (ignora vencidos; use --all para trazer todos) 4. Para cada encarte: Se tem pdf: baixa o PDF num arquivo temporário, pdfinfo conta as páginas, pdftoppm -jpeg -r 200 rasteriza cada uma. O PDF é descartado depois — só o JPG fica. Se não tem pdf (pdf: null): baixa direto as imagens de sheets[], que já vêm prontas do CDN

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
mouraod/promocoes-supermercados-fortaleza
Source file
superdopovo-encartes/SKILL.md
Fixed revision
cf7bb9eee75836508894a4e85031c01d08e4693c
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: mouraod/promocoes-supermercados-fortaleza · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T04:00:51.556Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.