Created
December 27, 2015 09:15
-
-
Save rinsuki/0fe617f298f7ac41bc0d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'nokogiri' | |
require 'open-uri' | |
doc = Nokogiri::HTML(open("https://misskey.xyz")) | |
trends = doc.css('#trends').children | |
trends.each{|trend| | |
puts trend.inner_text | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment