예제 #1
0
def snt():
    resource = 'https://etherscan.io/token/StatusNetwork#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Status', 'SNT', market_cap, current, resource)
    list_json.append(dict_)
예제 #2
0
def mkr():
    resource = 'https://etherscan.io/token/Maker#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[0].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[0].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Maker', 'MKR', market_cap, current, resource)
    list_json.append(dict_)
예제 #3
0
def btm():
    resource = 'https://etherscan.io/token/0xcb97e65f07da24d46bcdd078ebebd7c6e6e3d750#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Bytom', 'BTM', market_cap, current, resource)
    list_json.append(dict_)
예제 #4
0
def ven():
    resource = 'https://etherscan.io/token/0xd850942ef8811f2a866692a623011bde52a462c1#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('VeChain', 'VEN', market_cap, current, resource)
    list_json.append(dict_)
예제 #5
0
def plr():
    resource = 'https://etherscan.io/token/0xe3818504c1b32bf1557b16c238b2e01fd3149c17#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Pillar', 'PLR', market_cap, current, resource)
    list_json.append(dict_)
예제 #6
0
def eng():
    resource = 'https://etherscan.io/token/0xf0ee6b27b759c9893ce4f094b49ad28fd15a23e4#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Enigma', 'ENG', market_cap, current, resource)
    list_json.append(dict_)
예제 #7
0
def ae():
    resource = 'https://etherscan.io/token/0x5ca9a71b1d01849c0a95490cc00559717fcf0d1d'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Aeternity', 'AE', market_cap, current, resource)
    list_json.append(dict_)
예제 #8
0
def rhoc():
    resource = 'https://etherscan.io/token/0x168296bb09e24a88805cb9c33356536b980d3fc5#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('RChain', 'RHOC', market_cap, current, resource)
    list_json.append(dict_)
예제 #9
0
def gvt():
    resource = 'https://etherscan.io/token/0x103c3a209da59d3e7c4a89307e66521e081cfdf0#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('GenesisVision', 'GVT', market_cap, current,
                             resource)
    list_json.append(dict_)
예제 #10
0
def cnd():
    resource = 'https://etherscan.io/token/0xd4c435f5b09f855c3317c8524cb1f586e42795fa#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Cindicator', 'CND', market_cap, current,
                             resource)
    list_json.append(dict_)
예제 #11
0
def srn():
    resource = 'https://etherscan.io/token/0x68d57c9a1c35f63e2c83ee8e49a64e9d70528d25#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('SIRILabsToken', 'SRN', market_cap, current,
                             resource)
    list_json.append(dict_)
예제 #12
0
def req():
    resource = 'https://etherscan.io/token/0x8f8221afbb33998d8584a2b05749ba73c37a938a#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('RequestNetwork', 'REQ', market_cap, current,
                             resource)
    list_json.append(dict_)
예제 #13
0
def wtc():
    resource = 'https://etherscan.io/token/0xb7cb1c96db6b22b0d3d9536e0108d062bd488f74#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Waltonchain', 'WTC', market_cap, current,
                             resource)
    list_json.append(dict_)
def  poa():
    resource = 'https://poaexplorer.com/'
    try:
        soup = extract_with_bs(resource)
        market_cap = soup.find_all('span')[7].text[1:]
        current = soup.find_all('span')[4].text
        dict_ = insert_into_list('POANetwork', 'POA', market_cap, current, resource)
        list_json.append(dict_)
    except:
        pass
def smt():
    resource = 'https://etherscan.io/token/0x55f93985431fc9304077687a35a1ba103dc1e081#tokenInfo'
    try:
        soup = extract_with_bs(resource)
        market_cap = soup.find_all('tbody')[0].find_all('td')[5].text.split('$')[1]
        current = soup.find_all('tbody')[0].find_all('td')[8].text.split(' ')[0]
        dict_ = insert_into_list('SmartMesh', 'SMT', market_cap, current, resource)
        list_json.append(dict_)
    except:
        pass
def gto():
    resource = 'https://etherscan.io/token/0xc5bbae50781be1669306b9e001eff57a2957b09d#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Gifto',
                             'DTO',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def mgo():
    resource = 'https://etherscan.io/token/0x40395044Ac3c0C57051906dA938B54BD6557F212#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('MobileGo',
                             'MGO',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def storm():
    resource = 'https://etherscan.io/token/0xd0a4b8946cb52f0661273bfbc6fd0e0c75fc6433'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Storm',
                             'STORM',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def itc():
    resource = 'https://etherscan.io/token/0x5e6b6d9abad9093fdc861ea1600eba1b355cd940#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[0].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[0].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('IoT',
                             'ITC',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def edo():
    resource = 'https://etherscan.io/token/0xced4e93198734ddaff8492d525bd258d49eb388e#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Eidoo',
                             'EDO',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def appc():
    resource = 'https://etherscan.io/token/0x1a7a8bd9106f2b8d977e08582dc7d24c723ab0db#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('AppCoins',
                             'APPC',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def mana():
    resource = 'https://etherscan.io/token/decentraland#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Decentraland',
                             'MANA',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def utnp():
    resource = 'https://etherscan.io/token/0x9e3319636e2126e3c0bc9e3134AEC5e1508A46c7#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Universa',
                             'UTNP',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def kick():
    resource = 'https://etherscan.io/token/0x697beac28b09e122c4332d163985e8a73121b97f#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('KickCoin',
                             'KICK',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def wings():
    resource = 'https://etherscan.io/token/0x667088b212ce3d06a1b553a7221E1fD19000d9aF#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Wings',
                             'WINGS',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def ast():
    resource = 'https://etherscan.io/token/0x27054b13b1b798b345b591a4d22e6562d47ea75a#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('AirSwap',
                             'AST',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def trac():
    resource = 'https://etherscan.io/token/0xaa7a9ca87d3694b5755f213b5d04094b8d0f0a6f#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('OriginTrail',
                             'TRAC',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def ins():
    resource = 'https://etherscan.io/token/0x5b2e4a700dfbc560061e957edec8f6eeeb74a320#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('INSEcosystem',
                             'INS',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def utk():
    resource = 'https://etherscan.io/token/0x70a72833d6bf7f508c8224ce59ea1ef3d0ea3a38#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Utrust',
                             'UTK',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def vibe():
    resource = 'https://etherscan.io/token/0xe8ff5c9c75deb346acac493c463c8950be03dfba#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[0].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[0].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('VIBE',
                             'VIBE',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)