davidkingzyb / pccold

douyu斗鱼 自动化工具 主播上线通知 & 直播视频自动录制 & 弹幕抓取
MIT License
191 stars 29 forks source link

run download.py error #7

Closed hurun closed 5 years ago

hurun commented 5 years ago

D:>cd D:\python\pccold-master

D:\python\pccold-master>python videodownload.py Traceback (most recent call last): File "videodownload.py", line 9, in from tools import read,doBypy,saveStream,ReturnCodeObserverThread,SleepKillerThread ImportError: cannot import name 'doBypy'

davidkingzyb commented 5 years ago

sorry function doBypy move into bypyrm.py try from bypyrm import doBypy

davidkingzyb commented 5 years ago

https://github.com/davidkingzyb/pccold/commit/2656bd1d9e31518177c7ebe659cc70e752cd47b7

hurun commented 5 years ago

无法导入doBypy修复了, 现在又出现新问题

D:\python\pccold-master>python videodownload.py videodownload main 系统找不到指定的路径。

davidkingzyb commented 5 years ago

有配置videolist和download文件夹吗?

hurun commented 5 years ago

这是conf配置文件,不知道对不对 download_path="./download" #录像保存路径 videolist_path='videolist.md' #批量下载斗鱼视频列表

试过相对路径与绝对路径,报相同错误