SKILL

mateus-encartes

Baixa todos os encartes vigentes do Mix Mateus (Grupo Mateus, Fortaleza) em alta resolução. Use quando o usuário mencionar "baixar encartes Mateus", "encartes Mix Mateus", "download encartes Mateus", ou colar a URL ofertasmateus.com.

Original · translation is not supported for this source language

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

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

Baixa todos os encartes vigentes e todas as suas páginas via API JSON aberta do site + rasterização do PDF com poppler. Sem Playwright, sem npm install. Saída: /Downloads/Encartes/Mateus/DD-Mês/ 1. A página do site é só casca; o JS chama uma API JSON via proxy. fetch de https://ofertasmateus.com/api-proxy.php?endpoint=/encartes/ce/fortaleza/{loja}?marca=MA 2. Filtra: só encartes com validade >= hoje 3. Para cada encarte: baixa o PDF de api-proxy.php?file= (idempotente). O host admin.ofertasmateus.com dá 403 direto, por isso o proxy 4. pdfinfo conta o nº de páginas; pdftoppm -jpeg -r 200 rasteriza cada uma em JPG 2205x3150 px 5. Pula arquivos já existentes (idempotente por PDF e por página) 6. Tenta reaproveitar páginas de rodadas anteriores via lib/reuso.js 7. Grava manifest.json com rede, loja, data, DPI e lista de encartes Nome do arquivo: -pagina-NN.jpg. O slug é slugify(descricao)-DD-a-DD-MM usando as datas de vigência. 1. Executar o script direto — sem perguntas desnecessárias 2. Mostrar o output (rede, loja, 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 pop

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

Source repository
mouraod/promocoes-supermercados-fortaleza
Source file
mateus-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.525Z.

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.