下記のスニペットで今のところうまくいっている。何か問題があったら更新する。
def url2text(url)
html = open(url).read
doc = Nokogiri::HTML(html.toutf8, nil, 'utf-8')
doc.text
end
Go to list of users who liked
More than 5 years have passed since last update.
下記のスニペットで今のところうまくいっている。何か問題があったら更新する。
def url2text(url)
html = open(url).read
doc = Nokogiri::HTML(html.toutf8, nil, 'utf-8')
doc.text
end
Register as a new user and use Qiita more conveniently
Go to list of users who liked