11 ms·
I don't get it, I can just curl the svg and grep for mailto?
by fp64 2y ago
I don't get it, I can just curl the svg and grep for mailto?
- rany_ 2y agoYes, but these scrapper bots aren't that sophisticated.
- winternewt 2y agoBut they will be as soon as this sees widespread use.
- _joel 2y agoit 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 2y agoQuerying DOM nodes is inherently more complicated than a regex on unparsed HTML.
- fp64 2y agoCrawl 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 2y agoI think the idea is that email scraper bots typically don't bother downloading images referenced by <img> tags.