Sorrow446 / MOOV-DL

Tool written in Python to download streamable tracks from moov.hk.
29 stars 10 forks source link

Can you help me? #2

Closed dfvips closed 3 years ago

dfvips commented 3 years ago

Traceback (most recent call last): File "moov-dl.py", line 295, in cfg = parse_prefs() File "moov-dl.py", line 38, in parse_prefs cfg = parse_cfg() File "moov-dl.py", line 31, in parse_cfg return json.load(f) File "E:\Python\Python3.6.8\lib\json__init.py", line 299, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "E:\Python\Python3.6.8\lib\json\init__.py", line 354, in loads return _default_decoder.decode(s) File "E:\Python\Python3.6.8\lib\json\decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "E:\Python\Python3.6.8\lib\json\decoder.py", line 355, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Invalid \escape: line 5 column 19 (char 95)

Sorrow446 commented 3 years ago

If anyone else runs into this issue, it's because you either need to double up your backslashes or just use single forward slashes in your config file for output_dir.