I guess you want to extract all the links inside the post for the feature Preventing malicious linking - #27 by Sudaraka. You can get it simply by doc.css("a[href]")
using Nokogiri module.
5 Likes
I guess you want to extract all the links inside the post for the feature Preventing malicious linking - #27 by Sudaraka. You can get it simply by doc.css("a[href]")
using Nokogiri module.