[WIP] Refactor spotdl.py; introduced classes (#410)

* Refactor spotdl.py; introduced classes

* introduce CheckExists class

* Move these classes to download.py

* Fix refresh_token

* Add a changelog entry
This commit is contained in:
Ritiek Malhotra
2018-11-25 17:07:56 +05:30
committed by GitHub
parent 8ced90cb39
commit eae9316cee
13 changed files with 315 additions and 217 deletions

View File

@@ -1,5 +1,5 @@
import appdirs
from spotdl import internals, const
from spotdl import internals
from logzero import logger as log
import logging
@@ -8,7 +8,6 @@ import argparse
import mimetypes
import os
import sys
_LOG_LEVELS_STR = ["INFO", "WARNING", "ERROR", "DEBUG"]