7
Can FreshRSS Crawl? (lemmy.dbzer0.com)
submitted 2 years ago* (last edited 2 years ago) by EliteCow@lemmy.dbzer0.com to c/selfhosted@lemmy.world

I recently started up FreshRSS in my docker environment. I was super excited about the web scraping feature.

Now that I'm setting it up, it looks like that it is able to scrape single web pages, but I am unable to figure out how to get it to crawl into the actual article to scrape the full content.

Is anyone aware of how to do this. For example, runescape.com/m=news/ This page has a list of articles with a thumbnail, title, category, date, and a short description of the article. Would it be possible for FreshRSS to crawl into the article link and scrape the contents within?

you are viewing a single comment's thread
view the rest of the comments
[-] gnzl@nc.gnzl.cl 0 points 2 years ago

It can be done directly in FreshRSS and I've done it successfully with a few websites, though the process is fairly involved. Here's a starting point, from the FreshRSS documentation:

https://freshrss.github.io/FreshRSS/en/users/11_website_scraping.html

This blog post (also linked in the FreshRSS docs above) proved extremely useful as an example on how to get started:

https://danq.me/2022/09/27/freshrss-xpath/

Good luck!

[-] EliteCow@lemmy.dbzer0.com 1 points 2 years ago

Thanks a ton for those links

load more comments (6 replies)
this post was submitted on 11 Jul 2023
7 points (100.0% liked)

Selfhosted

48610 readers
442 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS