brianleect / etherscan-labels

Full label data dump of top EVM chains in JSON/CSV.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] [RetrieveAll] Suspected RL hit? ImportError: html5lib

brianleect opened this issue · comments

commented

ImportError: html5lib not found, please install it.

After retrieving 10 labels, crashed on the line.

    newTable = pd.read_html(driver.page_source)[0]

Suspect its RL returning invalid table and thus causing crash.

Will attempt introducing sleep 3-4s between each page and see if it fixes the problem.

commented

503 error caused it to occur first time.

Second time was due to empty table.

Fixed by simply catching error and skipping label temporarily.