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)