this post was submitted on 07 Oct 2024
562 points (98.8% liked)

Technology

59366 readers
3995 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 22 points 1 month ago (6 children)

from the article:

Robots.txt is a line of code that publishers can put into a website that, while not legally binding in any way, is supposed to signal to scraper bots that they cannot take that website’s data.

i do understand that robots.txt is a very minor part of the article, but i think that’s a pretty rough explanation of robots.txt

[–] [email protected] 11 points 1 month ago (4 children)

Out of curiosity, how would you word it?

[–] [email protected] 5 points 1 month ago (1 children)

List of files/pages that a website owner doesn't want bots to crawl. Or something like that.

[–] [email protected] 9 points 1 month ago* (last edited 1 month ago) (1 children)

Websites actually just list broad areas, as listing every file/page would be far too verbose for many websites and impossible for any website that has dynamic/user-generated content.

You can view examples by going to most any websites base-url and then adding /robots.txt to the end of it.

For example www.google.com/robots.txt

load more comments (2 replies)
load more comments (3 replies)