Created
February 17, 2017 23:30
-
-
Save Voker57/7f2748a82674a56a1a4d09059cd114ab to your computer and use it in GitHub Desktop.
mfp.rb
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
require 'nokogiri' | |
require 'open-uri' | |
mainpage = Nokogiri.parse(open("http://musicforprogramming.net/")) | |
mainpage.search("div#episodes/a").each do |a| | |
a_pg = Nokogiri.parse(open("http://musicforprogramming.net/" + a["href"])) | |
puts a_pg.at("audio")["src"] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment