Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fp64
on May 13, 2024
|
parent
|
context
|
favorite
| on:
Protecting your email address via SVG instead of J...
I don't get it, I can just curl the svg and grep for mailto?
rany_
on May 13, 2024
[–]
Yes, but these scrapper bots aren't that sophisticated.
fp64
on May 13, 2024
|
parent
|
next
[–]
Crawl every link, now including SVG, and grep all 'mailto:' does not sound super sophisticated?
wget --recursive --quiet $BASE_URL && grep -roh 'mailto:\([^"]*\)'
works on the example and just prints the email
planede
on May 13, 2024
|
root
|
parent
|
next
[–]
I think the idea is that email scraper bots typically don't bother downloading images referenced by <img> tags.
winternewt
on May 13, 2024
|
parent
|
prev
|
next
[–]
But they will be as soon as this sees widespread use.
_joel
on May 13, 2024
|
root
|
parent
|
next
[–]
it won't be widespread imho, not when you share you email address with other parties that then lose/sell your details. fastmail like 'temporal' email addresses could help, however.
amsterdorn
on May 13, 2024
|
parent
|
prev
[–]
Querying DOM nodes is inherently more complicated than a regex on unparsed HTML.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: