Update core.py
This commit is contained in:
parent
6891bcaded
commit
46fbf89ca1
3
core.py
3
core.py
|
@ -5,6 +5,7 @@ import os
|
||||||
import sys
|
import sys
|
||||||
import argparse
|
import argparse
|
||||||
import ydl
|
import ydl
|
||||||
|
import interface
|
||||||
|
|
||||||
#TODO:
|
#TODO:
|
||||||
# offer download video option
|
# offer download video option
|
||||||
|
@ -26,7 +27,7 @@ args = parser.parse_args()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
if not args.interface:
|
if args.interface:
|
||||||
ydlo = ydl.ydl_object(args)
|
ydlo = ydl.ydl_object(args)
|
||||||
ydlo.print_infos()
|
ydlo.print_infos()
|
||||||
ydlo.process_args()
|
ydlo.process_args()
|
||||||
|
|
Loading…
Reference in New Issue