craft_parser_init
This commit is contained in:
17
craft_parser/main.py
Normal file
17
craft_parser/main.py
Normal file
@ -0,0 +1,17 @@
|
||||
from craft_facade import CraftFacade
|
||||
from craft_storage import CraftStorage
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def main():
|
||||
url = 'https://ru.minecraft.wiki/w/IndustrialCraft_2/Термальная_центрифуга'
|
||||
storage = CraftStorage()
|
||||
facade = CraftFacade()
|
||||
facade.extract(url, storage, recursive=False)
|
||||
storage.save()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user