latecomers/devloop/parse.py

11 lines
221 B
Python
Raw Normal View History

2022-08-18 18:49:47 +02:00
# -*- encoding: utf-8 -*-
from latecomers.parse import find_table, get_details
2024-02-17 16:33:52 +01:00
with open("./devloop/sample3.html") as f:
2022-08-18 18:49:47 +02:00
content = f.read()
flights = find_table(content)
for f in flights:
2024-02-17 16:33:52 +01:00
print(get_details(f))