SKILL

atacadao-encartes

Baixa todos os encartes vigentes do Atacadao (todas as paginas em alta resolucao). Use quando o usuario mencionar "baixar encartes Atacadao", "encartes Atacadao", "download encartes Atacadao", ou colar a URL atacadao.com.br/loja/.

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 English text

Topics in the source

  • Atacadao Encartes Downloader
  • Setup (so na primeira vez)
  • Comando padrao
  • Como funciona
  • Estrutura de saida
  • Opcoes
  • Lojas Fortaleza
  • Comportamento ao acionar

Baixa todos os encartes vigentes e todas as suas paginas via parse do NEXTDATA do site + rasterizacao do PDF com poppler. Sem Playwright, sem npm install, sem API separada. Saida: /Downloads/Encartes/Atacadao/DD-Mes/ 1. fetch do HTML de https://www.atacadao.com.br/loja/{slug} 2. Extrai o e parseia o JSON 3. Navega em props.pageProps.storeInfo.flyers[] e filtra: so encartes com exclude !== true e validity.final >= hoje 4. Para cada encarte: baixa o PDF de urlFinalDocument (idempotente) 5. pdfinfo conta o nº de paginas; pdftoppm -jpeg -r 200 rasteriza cada uma em JPG 2205x3150 px 6. Pula arquivos ja existentes (idempotente por PDF e por pagina) 7. Tenta reaproveitar paginas de rodadas anteriores via lib/reuso.js 8. Grava manifest.json com rede, loja, data, DPI e lista de encartes Nome do arquivo: -pagina-NN.jpg. O slug e slugify(name)-DD-MM-a-DD-MM usando as datas de vigencia, o que diferencia folhetos com mesmo nome (ex: varios "Super Ofertas" com vigencias diferentes). 1. Executar o script direto — sem perguntas desnecessarias 2. Mostrar o output (rede, loja, data, dpi, nº encartes, nº paginas, destino) 3. Confirmar a pasta com ls se o usuario quiser verificar 4. Se pdfinfo/pdftopp

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

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

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.