Generate RSS feed for any website using CSS selectors
31–40 of 55 posts
Re: Generate RSS feed for any website using CSS selectors
#32Re: Generate RSS feed for any website using CSS selectors
#33Re: Generate RSS feed for any website using CSS selectors
#34I have build my own solution that is automagical at https://awesomegoat.com/ but I am running into next set of issues which are various scraping protections. It seems that reasonable RSS gateway today needs to include botnet of residential proxies just to read content on the internet.
Re: Generate RSS feed for any website using CSS selectors
#35CSS selectors were more useful before the Tailwind fad of dropping meaningful classes names in favor of recreating inline styles but with abbreviations to memorize. I use μBlock Origin + userStyles a lot which both also uses CSS selectors & the last couple of years everything has become a lot harder on the end user to tweak/fix. If you’re lucky now, you’ll have some ARIA attributes to select on.
Re: Generate RSS feed for any website using CSS selectors
#36These days I just let chagpt generate a script that scrapes a site and spits out an rss file. Then I run it with cron.
Are you not limited by the cut off date of the content the model is trained off ?
2. the user runs the script that does the scraping
these are temporally separate actions
Re: Generate RSS feed for any website using CSS selectors
#37What's the easiset way to also run a few basic filters on the site/RSS feed's content to make it truly shine vs simplistic scraping, like - splitting the full feed by theme of the article into separate feeds and at the same time - remove a few keywords and also - get article length and split into a long / short feed - Or maybe get what you used to have on some news sites - subscribe only to a specific author instead…
Re: Generate RSS feed for any website using CSS selectors
#38CSS selectors were more useful before the Tailwind fad of dropping meaningful classes names in favor of recreating inline styles but with abbreviations to memorize. I use μBlock Origin + userStyles a lot which both also uses CSS selectors & the last couple of years everything has become a lot harder on the end user to tweak/fix. If you’re lucky now, you’ll have some ARIA attributes to select on.
And it also became harder due to people thinking random ids and class names are totally fine. Super annoyed by that. It feels like they are forcing their vision onto the user, while the user does not want their vision and could not care less.
Re: Generate RSS feed for any website using CSS selectors
#39This honestly is standard web scraping but these projects always catch my attention. You're bound at the mercy of rate-limiting firewalls (so you'll have to rotate proxies if you intend on using this heavily) on top of the standard CloudFront bot detection recaptcha, and div-obfuscation (a good example of this is Facebook).
rss-Bridge has decent caching support, customisable on a bridge level, so that comes pre-tuned and works well at low volumes for personal use. At large scale, like the kind of traffic I started seeing when I ran a public rss-bridge Instagram/Telegram bridge - rate limits are unavoidable.
So using RSS Bridge to generate feeds from large platforms is often a lot more reliable than the typical scraping script I'd code up myself for other sites.
Re: Generate RSS feed for any website using CSS selectors
#40I've wondered why people have tried all sorts of cumbersome ways to splice metadata onto HTML like RDFa but never tried the obvious approach of basing extraction rules on CSS selectors... Often these work without the cooperation of the target site so long as they use CSS the way it was supposed be used (e.g. not tailwind, bootstrap, etc.)