İçeriğe geç
YENİPazar yeri ve trig8n Agent: geliştirdiğinizi satın; planlar ve değişiklikler siz görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Web Kazıma ve Araştırma

Web Kazıma ve Araştırma

OpenAI ile Telekom Haber Gönderilerini NocoDB'ye Tarama

Zamanlanmış olarak RSS akışı olmayan bir haber sitesini tarar, yeni gönderileri filtreler, OpenAI'ya özet ve anahtar kelime eklettirir ve NocoDB'ye kaydeder.

Ne yapar

# Scraping posts of a news site without RSS feed The News Site from Colt, a telecom company, does not offer an RSS feed, therefore web scraping is the choice to extract and process the news. The goal is to get only the newest posts, a summary of each post and their respective (technical) keywords. Note that the news site offers the links to each news post, but not the individual news. We collect first the links and dates of each post before extracting the newest ones. The result is sent to a SQL database, in this case a NocoDB database. This process happens each week thru a cron job. Requirements: - Basic understanding of CSS selectors and how to get them via browser (usually: right click → inspect) - ChatGPT API account - normal account is not sufficient - A NocoDB database - of course you may choose any type of output target Assumptions: - CSS selectors work on the news site - The post has a date with own CSS selector - meaning date is not part of the news content "Warnings" - Not every site likes to be scraped, especially not in high frequency - Each website is structured in different ways, the workflow may then need several adaptations. Happy about any suggestion to improve. You may contact me on Mastodon: https://bonn.social/@askans

Adımlar

  1. Extract the HTML with the right css class
  2. Summary
  3. Keywords
  4. Rename keywords
  5. Rename Summary
  6. Merge
  7. Extract date
  8. Select posts of last 7 days
  9. Merge date & links
  10. HTTP Request1
  11. Merge Content with Date & Link
  12. Extract individual posts
  13. Merge ChatGPT output with Date & Link
  14. Retrieve the web page for further processsing

Toplam 18 adım.

Benzer otomasyonlar