Skip to content

Latest commit

 

History

History
40 lines (21 loc) · 1.5 KB

README.md

File metadata and controls

40 lines (21 loc) · 1.5 KB

OpenSea NFT IPFS Downloader

Sometimes you need the highest quality image from an NFT on OpenSea. This is how you get it - from the IPFS. OpenSea.


Setup

Prerequisites:

  • Python 3.9 or above
  • A brain

Step 1: Download the script

To download the script, either use git clone or click "Code" > "Download ZIP" on the GitHub page.

Step 2: Install dependencies

To install the dependencies for the script, simply run pip install -r requirements.txt.

Step 3: Choose your collection

Lastly, open the script in a text editor, and change the CollectionName variable on Line 11 to your collection of choice, by finding the collection's name on OpenSea. For example, the Lazy Lions collection has the name "lazy-lions" (opensea.io/collection/lazy-lions). CollectionName can also be found in the URL on opensea.io

Step 4: Run the script

Now, just run the script.

On Linux, just type python3 opensea.py in the terminal.

On Windows, just double-click on the file.

On MacOS, there are many different ways to do it. (Google it)


How does it work?

Basically, the OpenSea website allows for scripts like this one to reach into their system via an API. Using this API, we fetch the amount of items in the collection of choice, and split it into 50-item chunks each, and start downloading them. Everything is automated, except for setting the name of the collection.