makevoid / opensea-images-downloader

<outdated> Script to download all the images from an opensea collection using the OpenSea API
44 stars 18 forks source link

Resume Download #9

Open miztizm opened 2 years ago

miztizm commented 2 years ago

Hello, is it possible to resume from the image Id where i stopped? It would be great. Cause i got this error and its stopped.

Got timeout - waiting for 10 seconds /app/vendor/bundle/ruby/3.0.0/gems/excon-0.87.0/lib/excon/response.rb:159:inparse': EOFError (EOFError) (Excon::Error::Socket) from /app/vendor/bundle/ruby/3.0.0/gems/excon-0.87.0/lib/excon/middlewares/response_parser.rb:7:in response_call' from /app/vendor/bundle/ruby/3.0.0/gems/excon-0.87.0/lib/excon/connection.rb:451:inresponse' from /app/vendor/bundle/ruby/3.0.0/gems/excon-0.87.0/lib/excon/connection.rb:282:in request' from /app/vendor/bundle/ruby/3.0.0/gems/excon-0.87.0/lib/excon.rb:250:inget' from downloader.rb:49:in download_image' from downloader.rb:43:inblock in download_images' from downloader.rb:42:in each' from downloader.rb:42:indownload_images' from downloader.rb:16:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:69:in main' from downloader.rb:72:in

' /app/vendor/bundle/ruby/3.0.0/gems/excon-0.87.0/lib/excon/response.rb:159:in parse': EOFError (EOFError) from /app/vendor/bundle/ruby/3.0.0/gems/excon-0.87.0/lib/excon/middlewares/response_parser.rb:7:inresponse_call' from /app/vendor/bundle/ruby/3.0.0/gems/excon-0.87.0/lib/excon/connection.rb:451:in response' from /app/vendor/bundle/ruby/3.0.0/gems/excon-0.87.0/lib/excon/connection.rb:282:inrequest' from /app/vendor/bundle/ruby/3.0.0/gems/excon-0.87.0/lib/excon.rb:250:in get' from downloader.rb:49:indownload_image' from downloader.rb:43:in block in download_images' from downloader.rb:42:ineach' from downloader.rb:42:in download_images' from downloader.rb:16:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:18:infetch_batch' from downloader.rb:18:in fetch_batch' from downloader.rb:69:inmain' from downloader.rb:72:in <main>' rake aborted! Command failed with status (1): [bundle exec ruby downloader.rb...] /app/Rakefile:3:inblock in <top (required)>' /app/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in <top (required)>' /usr/local/bin/bundle:23:inload' /usr/local/bin/bundle:23:in <main>' Tasks: TOP => default => run (See full trace by running task with --trace)