brianleect / etherscan-labels

Full label data dump of top EVM chains in JSON/CSV.
MIT License
256 stars 77 forks source link

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

Closed brianleect closed 2 years ago

brianleect commented 2 years ago

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.

brianleect commented 2 years ago

503 error caused it to occur first time.

Second time was due to empty table.

Fixed by simply catching error and skipping label temporarily.