Add retrieve functionality
This commit is contained in:
parent
0986de8cb3
commit
fa885eac66
12
devloop/parse_retrieve.py
Normal file
12
devloop/parse_retrieve.py
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# -*- encoding: utf-8 -*-
|
||||||
|
import os
|
||||||
|
|
||||||
|
from latecomers.retrieve import retrieve
|
||||||
|
from latecomers.parse import find_table, get_details
|
||||||
|
|
||||||
|
body = retrieve()
|
||||||
|
|
||||||
|
flights = find_table(body)
|
||||||
|
|
||||||
|
for f in flights:
|
||||||
|
print(get_details(f, os.environ.get("DEBUG") is not None))
|
6
devloop/retrieve.py
Normal file
6
devloop/retrieve.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# -*- encoding: utf-8 -*-
|
||||||
|
from latecomers.retrieve import retrieve
|
||||||
|
|
||||||
|
|
||||||
|
body = retrieve()
|
||||||
|
print(body)
|
14
latecomers/retrieve.py
Normal file
14
latecomers/retrieve.py
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user