mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
20 lines
345 B
Python
20 lines
345 B
Python
import logzero
|
|
import sys
|
|
|
|
from spotdl import command_line
|
|
|
|
|
|
def main():
|
|
arguments = command_line.get_arguments()
|
|
spotdl = command_line.Spotdl(arguments.__dict__)
|
|
try:
|
|
spotdl.match_arguments()
|
|
except KeyboardInterrupt as e:
|
|
logzero.logger.exception(e)
|
|
sys.exit(2)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|
|
|