Permalink
Browse files

Refererが設定されない問題を修正

  • Loading branch information...
1 parent 1008cec commit 2eb956991f0c451d5d69847474b70be7b7ca1672 @kgt kgt committed Feb 8, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib-plugins/yapra/plugin/publish/on_memory_download.rb
@@ -63,7 +63,7 @@ def construct_data(config, item, original=nil)
original
end
- def save config, item, page
+ def save(config, item, page)
set_attribute_to item, config['attribute'], page
end
@@ -74,7 +74,7 @@ def download(item, url, referrer)
dir = config['dir']
- page = agent.get(url, referrer)
+ page = agent.get(url, [], referrer)
save(config, item, page)
@@ -83,4 +83,4 @@ def download(item, url, referrer)
end
end
end
-end
+end

0 comments on commit 2eb9569

Please sign in to comment.