start to complete the main function
This commit is contained in:
parent
be2cc4fbc6
commit
62a500e4e2
|
@ -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__":
|
||||
|
|
Loading…
Reference in New Issue