Last active
December 10, 2015 02:29
-
-
Save xiujunma/4367956 to your computer and use it in GitHub Desktop.
find out yyets ed2k url
This file contains 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 'net/http' | |
ed2k_url_array = Net::HTTP.get(URI.parse('http://www.yyets.com/php/resource/10733')).scan(/"(ed2k:\/\/.+?)"/) | |
ed2k_url_array.each { |ed2k_url| puts ed2k_url } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment