R2 = requests.get("", proxies=proxy, timeout = 15) R1 = requests.get("", proxies=proxy, timeout = 15) R0 = requests.get("", proxies=proxy, timeout = 15) #print(proxy) # JSON VALUE FOR ALL DATA THAT GOES INTO PROXY Proxy_json = requests.get(proxy_url).text # EXTRACTING JSON DATA FROM THIS LIST OF PROXIES It's appealing in that it doesn't require any Javascript.# LIST OF FREE PROXY APIS, THESE PROXIES ARE LAST TIME TESTED 50 MINUTES AGO, PROTOCOLS: HTTP, HTTPS, SOCKS4 AND SOCKS5 This looks like a really cool method that encodes the characters, which I assume would defeat basic spam bots: This is the JavaScript code that the above tool would generate to obfuscate my email address (comments intact): There is also a php version of the above to be able to generate obfuscated emails from the server side. The following is a popular JavaScript anti spam email obfuscator: For users with JavaScript disabled you may want to substitute the mailto link with a link to a contact form. JavaScript remains one of the best mailto obfuscator. At least, I am unable to see why Google should index the email address anyway. I don't get the part about the "legit crawlers" like Google. Having said that, this technique will not let your visitors copy the address directly from your webpage. It is a little cumbersome for the visitor but should give premium protection. This will render email addresses on the form where the ellipsis is a link to view the full address. You could use the reCAPTCHA Mailhide functionality. I don't claim to know whether this could or could not be outsmarted by a more sophisticated crawler. For example, using base64 as the "encryption": Building on Daniel Vassallo's answer, one way to encrypt a mailto link that may avoid cleverer spambots that will evaluate JS document.writes (as pointed out by incarnate) would be to put the decryption in a Javascript function that is only evaluated when the link is clicked on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |