SKILL

cometa-encartes

Baixa todos os encartes da semana do Cometa Supermercados (todas as páginas em alta resolução). Use quando o usuário mencionar "baixar encartes Cometa", "encartes Cometa", "download encartes Cometa", ou colar a URL cometasupermercados.com.br/encartes.

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

  • Cometa Encartes Downloader
  • Setup (só na primeira vez)
  • Comando padrão
  • Como funciona
  • Estrutura de saída
  • Opções
  • Comportamento ao acionar

Baixa todos os encartes e todas as suas páginas via API do Cometa + rasterização do PDF com poppler. Sem Playwright, sem npm install. Saída: /Downloads/Encartes/Cometa/DD-Mês/ 1. GET https://cometasupermercados.com.br/api/encartes → lista completa (Strapi) 2. Para cada encarte: baixa o PDF de adminx.cometasupermercados.com.br (idempotente) 3. pdfinfo conta o nº de páginas; pdftoppm -jpeg -r 200 rasteriza cada uma em JPG 2205×3150 px 4. Pula arquivos já existentes (idempotente por PDF e por página) 5. Grava manifest.json com rede, data, DPI e lista de encartes 1. Executar o script direto — sem perguntas desnecessárias 2. Mostrar o output (rede, data, dpi, nº encartes, nº páginas, destino) 3. Confirmar a pasta com ls se o usuário quiser verificar 4. Se pdfinfo/pdftoppm ausentes, o script já exibe brew install poppler 5. Se houver outro erro, mostrar a mensagem exata

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

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.504Z.

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.