import requests
from bs4 import BeautifulSoup
page = requests.get(
'https://bitinfocharts.com/top-100-richest-bitcoin-addresses.html')
soup = BeautifulSoup(page.text, 'html.parser')
wallets = soup.findAll('a', href="https://bitinfocharts.com/bitcoin/address/[\w]+")
print(wallets)
import requests
from bs4 import BeautifulSoup
import re
page = requests.get(
'https://bitinfocharts.com/top-100-richest-bitcoin-addresses.html')
soup = BeautifulSoup(page.text, 'html.parser')
pattern = r"https://bitinfocharts.com/bitcoin/address/[\w]+"
wallets = re.findall(pattern, str(soup))
print(wallets)