aboutsummaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2020-08-15 17:08:58 +0200
committerneodarz <neodarz@neodarz.net>2020-08-15 17:08:58 +0200
commite2099a3e5c8f38c8bae88d862950b0c2bf5b1d13 (patch)
tree8bec0b584c05b4343ac6f1ea78682747402eb207 /utils.py
parente6097b7d5b6122eeecea6a358a8e74cff5a17bbb (diff)
downloadmusic_downloader-e2099a3e5c8f38c8bae88d862950b0c2bf5b1d13.tar.xz
music_downloader-e2099a3e5c8f38c8bae88d862950b0c2bf5b1d13.zip
Add option to specifie extractor
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils.py b/utils.py
index 58188b1..972e92f 100644
--- a/utils.py
+++ b/utils.py
@@ -21,3 +21,6 @@ def read_file(filename):
def write_file(filename, data):
with open(filename, 'a') as filehandler:
filehandler.write(data+'\n')
+
+class NoExtractorException(Exception):
+ pass