17 lines
328 B
Python
17 lines
328 B
Python
|
from funda import FundaCrawler
|
||
|
from webserver import *
|
||
|
from storage import Storage
|
||
|
|
||
|
def main():
|
||
|
#Storage module
|
||
|
st = Storage()
|
||
|
|
||
|
#Setup thread with automatic crawler
|
||
|
fc = FundaCrawler(st, placename="Ridderkerk")
|
||
|
# fc.crawlKoopwoningen()
|
||
|
|
||
|
StartServer(st, fc)
|
||
|
pass
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
main()
|