mirror of
https://github.com/CodingIsOurPassion/CodingIsOurPassion.git
synced 2024-12-30 15:19:18 -06:00
15 lines
332 B
Python
15 lines
332 B
Python
import json
|
|
import dataclasses
|
|
from lakewatchscraper.waterdata import ReservoirDayData
|
|
|
|
|
|
def main():
|
|
print("Scraping Water Data for Canyon Lake")
|
|
print("===================================")
|
|
for row in ReservoirDayData.scrape():
|
|
print(json.dumps(dataclasses.asdict(row)))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|