Skip to content

Commit

Permalink
. picasa download
Browse files Browse the repository at this point in the history
  • Loading branch information
kschiess committed Sep 14, 2011
1 parent fb1d200 commit 98362b6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rb/picasa_download/extract.rb
@@ -0,0 +1,10 @@
require 'strscan'

while line=ARGF.gets
scanner = StringScanner.new(line)
while !scanner.eos? && scanner.skip_until(%r(media:content url=))
scanner.scan %r('https://.*?')

puts scanner.matched[1..-2]
end
end

0 comments on commit 98362b6

Please sign in to comment.