Created
December 15, 2021 15:06
-
-
Save itherunder/52c903cee3d8ed42fe01eeb495269291 to your computer and use it in GitHub Desktop.
https://etherscan.io/tokens or https://bscscan.com/tokens 按f12 进入控制台,直接获取前一百的token 列表
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
coins = document.getElementsByClassName('text-primary') | |
res = [] | |
for (let i = 0; i < 100; i++) { | |
var name = coins[i].text | |
var href = coins[i].href | |
console.log(name, href) | |
res.push([name, href]) | |
} | |
console.log(res) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment