Essentially given any url, I could fetch the webpage in Ruby using
doc = Nokogiri::HTML(open(my_url))
title = doc.at('meta[property="og:title"]')['content']
...
and extract the elements I need
Is there a best practice before fetching any links? It seems like a potential security risk as well.
I'm assuminig large compaines like facebook might run an image through some model to determine if it should be censored?