OSDN Git Service

moved
authornomeu <nomeu@nomeu.org>
Sat, 12 Jun 2010 17:14:56 +0000 (02:14 +0900)
committernomeu <nomeu@nomeu.org>
Sat, 12 Jun 2010 17:14:56 +0000 (02:14 +0900)
bin/read-upl.rb [moved from read-upl.rb with 93% similarity]
bin/read-zip.rb [moved from read-zip.rb with 100% similarity]

similarity index 93%
rename from read-upl.rb
rename to bin/read-upl.rb
index 257d55e..4f358af 100644 (file)
@@ -4,7 +4,7 @@ row_re = %r(</td><td><a href="(.+?)">(.+?)</a></td><td>(.+?)</td><td>(.+?)</td><
 key_re = Regexp.new(Regexp.escape("<font color=\"#FF0000\">[DLKey] </font>"))
 password_re = Regexp.new(Regexp.escape("<font color=\"#FF0000\">*</font>"))
 
-Dir.glob('/Volumes/uploader/src/mmd/*.html') do |ent|
+Dir.glob('/Volumes/uploader/src/mmd/index.html') do |ent|
   f = open(ent)
   while line = f.gets
     if match = row_re.match(line)
similarity index 100%
rename from read-zip.rb
rename to bin/read-zip.rb