diff --git a/gossamer_forums.rb b/gossamer_forums.rb index 5318ee6..010fd97 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1,5 +1,5 @@ # gossamer threads migration-import code -# v0.15.4 +# v0.15.5 require 'mysql2' require 'open-uri' @@ -187,6 +187,7 @@ class GossamerForumsImporter < ImportScripts::Base # Helper method to download an attachment / image from a URL def download_attachment(url) begin + puts "URL: '#{url}'" URI.open(url).read rescue OpenURI::HTTPError => e puts "Failed to download attachment from #{url}: #{e.message}"