Skip to content

Latest commit

 

History

History

opensea-lite

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Usage

Let's try the Etherbears collection (5000 max.):

CHROME_PATH = 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'

OpenSea::Puppeteer.chrome_path = CHROME_PATH


# step 1: download assets metadata (in batches of 20)
#           (auto-)saved to /etherbears/opensea/*.json
OpenSea::Puppeteer.download_assets( 'etherbears' )

# step 2: "unbundle" the batches to "standard" one-by-one metadata token files
#            (auto-)saved to /etherbears/token/*.json
OpenSea.convert( 'etherbears' )