Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Montei um monitor de preços com IA que me avisa quando o que eu quero baixa de preço

Montei um monitor de preços com IA que me avisa quando o que eu quero baixa de preço Tem uns meses que eu ando de olho em alguns produtos — um equipamento específico, um livro, um item de hardware — esperando o preço cair antes de comprar. Eu já tentei usar aqueles sites de "alerta de preço" genéricos, mas a maioria é lenta, cheia de anúncio, ou simplesmente não cobre a loja que eu quero…

O autor criou um sistema de monitoramento de preços impulsionado por inteligência artificial. Ele usa um script para observar o preço de um produto específico, como um equipamento ou um livro, e alerta quando o preço cai. Ele resolve o problema das páginas com layout variável usando um navegador headless controlado por Playwright para renderizar as páginas antes de ler o conteúdo.

Em vez de depender de seletores CSS fixos, ele envia o HTML relevante para um modelo de linguagem para extrair o preço, o que garante que o sistema funcione mesmo quando a loja altera o layout. O sistema armazena o histórico de preços em um banco de dados SQLite e compara os preços atuais com os últimos salvos. Se o preço cair abaixo do anterior ou de um limite definido pelo usuário, o sistema envia um alerta no Telegram.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

MY JOURNEY AS A FRESHMAN AT YIBS/ISEST: The beginning of my software engineering journey

starting out in a field you can actually care about is exciting. my journey as a freshman at YIBS/ISEST, where I am pursuing a higher national diploma (HND)in software engineering, has already helped…

  • Freshman at YIBS/ISEST pursuing HND in software engineering
  • Overwhelmed by new terms, algorithms, and problem-solving
  • Anticipates practical experience through projects and independent software

Preserve APA Citations with Regex Span Locks and SHA-256 Rollback in Python

To preserve APA citations with regex span locks across automated rewrites, extract candidate spans in priority order from Unicode NFC text, merge overlapping half-open intervals before substituting…

  • Python script spanlockverifier.py preserves APA citations
  • Regular expressions lock citation components in text
  • SHA-256 verification ensures output integrity with rollback

The Next Financial Data Bug Won't Be a Wrong Number. It'll Be a Missing Quarter.

Imagine opening an investment dashboard and discovering that a company's latest quarterly financial results are missing. The application displays a warning, the automated risk score deteriorates, and…

  • SEC proposes allowing optional quarterly or semiannual filings for publicly traded companies
  • Financial software and investment platforms may face data pipeline complexities
  • Resilient data models needed to preserve origin and context of financial observations

WHY I CHOSE SOFTWARE ENGINEERING: from playing FIFA to dreaming of creating football

my journey into software engineering started with something i enjoy which is; football and video games. unlike other football players i have been playing FIFA and it made me curious of how football…

  • Interest in football and video games sparked curiosity about game creation.
  • HND student at YIBS/ISEST, committed to building a strong foundation in software engineering.

More from Sunday 22 November →