"global.data_directory" not effect if the path does not exist #339
Closed
Description
- Version: the newest version from github on 19Jul2019 (I'm sorry I failed to find out where to check the version number)
- Interface: arch-linux, kde, work_crawler gui ;
I used the gui version on linux and set the default download directory in work_crawler.configuration.js
:
global.data_directory = '//home//myusername//download//work_crawler_download//';
however, if there is no "work_crawler_download" under ~/download, the option will not effect unless I create the directory manually:
mkdir /home/myusername/download/work_crawler_download
it's recommend to add a step to check & create the directory automatically.