Is there an easy way to use umlauts in an URL?
import pandas as pd
#tables = pd.read_html('https://de.wikipedia.org/wiki/Liste_der_größten_Stadien_der_Welt')
tables = pd.read_html('https://de.wikipedia.org/wiki/Liste_der_gr%C3%B6%C3%9Ften_Stadien_der_Welt')
print(f'Total tables: {len(tables)}')
With umlauts in the URL I get
UnicodeEncodeError: 'ascii' codec can't encode characters in position 22-23: ordinal not in range(128)