start to complete the main function

This commit is contained in:
Andreas Zweili 2020-10-12 22:26:21 +02:00
parent be2cc4fbc6
commit 62a500e4e2
1 changed files with 10 additions and 1 deletions

View File

@ -1,7 +1,16 @@
#!/usr/bin/env python
from cli import cli
from downloader import downloader
from file import write_to_file
from header import Header
def main():
pass
args = cli()
print(args.topics)
article = downloader(args.URL)
header = Header(article, args.topics)
write_to_file(article, header.build_header())
if __name__ == "__main__":