this post was submitted on 14 Feb 2024
1074 points (98.6% liked)

Technology

59429 readers
2968 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] 27 points 9 months ago (3 children)

hmm, i though websites just blocked crawler traffic directly? I know one site in particular has rules about it, and will even go so far as to ban you permanently if you continually ignore them.

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

There are more crawlers than I have fucks to give, you'll be in a pissing match forever. robots.txt was supposed to be the norm to tell crawlers what they can and cannot access. Its not on you to block them. Its on them, and its sadly a legislative issues at this point.

I wish it wasn't, but legislative fixes are always the most robust and complied against.

[–] [email protected] 1 points 9 months ago (1 children)

yes but also there's a point where it's blatantly obvious. And i can't imagine it's hard to get rid of the obviously offending ones. Respectful crawlers are going to be imitating humans, so who cares, disrespectful crawlers will ddos your site, that can't be that hard to implement.

Though if we're talking "hey please dont scrape this particular data" Yeah nobody was ever respecting that lol.

[–] [email protected] 2 points 9 months ago

Both paragraphs demonstrate gross ignorance

[–] [email protected] 31 points 9 months ago (3 children)

You cannot simply block crawlers lol

[–] [email protected] 0 points 9 months ago

last i checked humans dont access every page on a website nearly simultaneously...

And if you imitate a human then honestly who cares.

[–] [email protected] 20 points 9 months ago (2 children)

hide a link no one would ever click. if an ip requests the link, it's a ban

[–] [email protected] 14 points 9 months ago (1 children)

Except that it'd also catch out people who use accessibility devices might see the link anyways, or use the keyboard to navigate a site instead of a mouse.

[–] [email protected] 1 points 9 months ago

i don't know, maybe there's a canvas trick. i'm not a webdev so i am a bit out of my depth and mostly guessing and remembering 20-year-old technology

[–] [email protected] 6 points 9 months ago* (last edited 9 months ago) (2 children)

If it weren't so difficult and require so much effort, I'd rather clicking the link cause the server to switch to serving up poisoned data -- stuff that will ruin a LLM.

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

Would that be effective? A lot of poisoning seems targeted to a specific version of an LLM, rather than being general.

Like how the image poisoning programs only work for some image generators and not others.

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago)

Visiting /enter_spoopmode.html will choose a theme and mangle the text for any page you next go to accordingly (think search&replace with swear words or santa clause)

It will also show a banner letting the user know they are in spoop mode, with a javascript button to exit the mode, where the AJAX request URL is ofuscated (think base64) The banner is at the bottom of the html document (not nesisarly the screen itself) and/or inside unusual/normally ignored tags. <script type="spoop/text" style='display:block">you are in spoop mode</script>

Or have a secret second page that is only followed if you ignore robots.txt /spoop_post/yvlhcigcigc is a clone of /post/yvlhcigcigc in 'spoop mode'

[–] [email protected] 4 points 9 months ago

Well you can if you know the IPs that come in from but that's of course the trick.

[–] [email protected] 32 points 9 months ago (1 children)

Detecting crawlers can be easier said than done 🙁

[–] [email protected] -1 points 9 months ago

i mean yeah, but at a certain point you just have to accept that it's going to be crawled. The obviously negligent ones are easy to block.