datamade / nmid-scrapers

Scrapers for NMID
MIT License
0 stars 0 forks source link

Prevent iteration on pages with no tables #22

Closed xmedr closed 8 months ago

xmedr commented 8 months ago

Overview

This prevents a TypeError that occurs when iterating through a page with no tables.

I realized this solution was the same as #18, just without the extra table settings to join separated tables. So I borrowed the list comprehension from that.