-15

Anyone have recommendation for how I can scrap a website, and extract unique names -- such as product names.

I was thinking of using some website scrapping tool, then a local LLM to find unique product names.

top 8 comments
sorted by: hot top controversial new old
[-] exu@feditown.com 8 points 1 month ago

Usually you'd have to be the owner or operator of a website to scrap it. I guess hacking into the server and deleting all data would also work.

[-] dudesss@lemmy.ca 0 points 1 month ago* (last edited 1 month ago)

I was thinking of doing it once a day. Even if I have to manually initiate it to be legal. It would only be for personal non-public nor commercial reasons.

It would save me time from manually copying the HTML over to an LLM or something.

[-] hendrik@palaver.p3x.de 5 points 1 month ago* (last edited 1 month ago)

Just read the robots.txt and obey the rules. Also set your user agent string properly. We've had crawlers forever on the internet and that's the long accepted way to give consent or revoke consent, for website owners. Either you match a disallow directive and need to stop. Or you're completely fine to scrape it.

[-] dudesss@lemmy.ca 2 points 1 month ago

Neat, I've never heard of these.

[-] exu@feditown.com 4 points 1 month ago

I was joking about your use of scrap and scrapping, as in to remove or to cancel :)

Web scraping only has one p

[-] Nomad@infosec.pub 4 points 1 month ago

You are probably talking about scraping a website. There are usually tools for this already that make that easy. Last time I had to do something like that I used scrapy.

[-] Lysergid@lemmy.ml 1 points 1 month ago

Scrappy created exactly for this use case. I used to work in project for product info scraping when LLMs didn’t exist. So you don’t really have to use LLM. It’s usually semi-structured data. Your biggest pain will likely be SPAs with JS which need to run in order to load content. If you need to render SPAs check Selenium web driver or similar

[-] sbeak@sopuli.xyz 1 points 1 month ago

The term is to "scrape", "scraping a website". See that singular p?

Another good example to illustrate is the word "illustrate". You would say "illustrating", not "illustratting", as the magic e is replaced with "ing". A closer example to "scrape" would be the word "gape", you would say "a gaping hole", not a "gapping"

I hope this helps! English is a weird language. To "scrape" means to collect, while to "scrap" means to discard.

this post was submitted on 07 May 2026
-15 points (14.3% liked)

Programming

27201 readers
239 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS