Library / Web Scraping & Research
Web Scraping & Research
Scrape Telecom News Posts into NocoDB with OpenAI
On a schedule, it scrapes a news site that has no RSS feed, filters recent posts, has OpenAI add summaries and keywords, and saves them to NocoDB.
What it does
# 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
The steps
- Extract the HTML with the right css class
- Summary
- Keywords
- Rename keywords
- Rename Summary
- Merge
- Extract date
- Select posts of last 7 days
- Merge date & links
- HTTP Request1
- Merge Content with Date & Link
- Extract individual posts
- Merge ChatGPT output with Date & Link
- Retrieve the web page for further processsing
18 steps in total.
Similar automations
Web Scraping & ResearchScrape News Posts into NocoDB with OpenAI Summaries18 stepsWeb Scraping & ResearchScrape News Site Posts and Summarize with OpenAI39 stepsWeb Scraping & ResearchScrape News Sites Without RSS and Summarize with OpenAI39 stepsChatbots & Messaging BotsRun a Multilingual Telegram Bot with NocoDB17 steps