opensea-scraper
Advanced tools
Comparing version 6.5.1 to 6.5.2
@@ -19,3 +19,3 @@ const OpenseaScraper = require("./src/index.js"); | ||
browserInstance: undefined, | ||
} | ||
}; | ||
console.log(`===>>> ${slug} <<<===`); | ||
@@ -22,0 +22,0 @@ console.log("OPTIONS:"); |
{ | ||
"name": "opensea-scraper", | ||
"version": "6.5.1", | ||
"version": "6.5.2", | ||
"description": "Scraping floor prices from opensea.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -154,8 +154,8 @@ // puppeteer-extra is a drop-in replacement for puppeteer, | ||
const floorPrices = Object.values(__wired__.records) | ||
.filter(o => o.__typename === "AssetQuantityType") | ||
.filter(o => o.quantityInEth) | ||
.filter(o => o.__typename === "PriceType" && o.eth && o.unit && o.usd) | ||
.filter(o => o.eth) | ||
.map(o => { | ||
return { | ||
amount: o.quantity / 1000000000000000000, | ||
currency: currencyDict[o.asset.__ref].symbol, | ||
amount: o.eth, | ||
currency: 'ETH', | ||
} | ||
@@ -162,0 +162,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41856