pferd/PFERD/pferd.py

13 lines
317 B
Python
Raw Normal View History

2021-04-29 13:45:04 +02:00
from .config import Config
from .crawlers import CRAWLERS
2020-04-23 11:44:13 +02:00
2021-04-29 13:45:04 +02:00
class Pferd:
def __init__(self, config: Config):
self._config = config
2020-04-23 11:44:13 +02:00
2021-04-29 13:45:04 +02:00
async def run(self) -> None:
print("Bleep bloop 1")
await CRAWLERS["dummy"]("dummy", self._config._parser["dummy"]).run()
print("Bleep bloop 2")