DanielRWong / 91porn-downloader

91爬虫。
20 stars 2 forks source link

递归错误 #4

Closed 1elmarco closed 2 years ago

1elmarco commented 2 years ago

2022-01-04 09:00:45,290 INFO Make output dir F:/20211207 Traceback (most recent call last): File "start.py", line 19, in run() File "start.py", line 11, in run check_output_path() File "E:\91porn-downloader-main\utils\path.py", line 16, in check_output_path make_path(output_path) File "E:\91porn-downloader-main\utils\path.py", line 21, in make_path make_path(path_tuple[0]) File "E:\91porn-downloader-main\utils\path.py", line 21, in make_path make_path(path_tuple[0]) File "E:\91porn-downloader-main\utils\path.py", line 21, in make_path make_path(path_tuple[0]) [Previous line repeated 991 more times] File "E:\91porn-downloader-main\utils\path.py", line 19, in make_path path_tuple = os.path.split(path) File "C:\Users\Administrator\anaconda3\lib\ntpath.py", line 186, in split seps = _get_bothseps(p) File "C:\Users\Administrator\anaconda3\lib\ntpath.py", line 35, in _get_bothseps if isinstance(path, bytes): RecursionError: maximum recursion depth exceeded while calling a Python object

1elmarco commented 2 years ago

问题解决,没有f盘的会报这个错,在config里修改下载位置,还需要手动在目录下创建tmp文件否则会找不到路径