LOFTER2Hexo
LOFTER2Hexo copied to clipboard
Change LOFTER.xml to Markdown files
Remove query in URL for fix bug that can not download images due to URL is too long.
我尝试用这个工具导入网易163博客的xml (我猜跟lofter都是一样的格式),结果遇到以下错误。请问该怎么办? > $ node readxml.js > module.js:550 > throw err; > ^ > > Error: Cannot find module 'image-downloader' > at Function.Module._resolveFilename (module.js:548:15) > at Function.Module._load (module.js:475:25) > at...
``` E:\LOFTER>readxml events.js:182 throw er; // Unhandled 'error' event ^ TypeError: Cannot read property '0' of null at C:\Users\i\AppData\Roaming\npm\node_modules\lofter2hexo\bin\readxml.js:14 4:82 at Array.forEach () at _parseContent (C:\Users\i\AppData\Roaming\npm\node_modules\lofter2hexo\bi n\readxml.js:143:26) at parsearticle (C:\Users\i\AppData\Roaming\npm\node_modules\lofter2hexo\bin...
events.js:182 throw er; // Unhandled 'error' event ^ TypeError: Cannot read property '0' of null at /usr/local/lib/node_modules/lofter2hexo/bin/readxml.js:144:82 at Array.forEach () at _parseContent (/usr/local/lib/node_modules/lofter2hexo/bin/readxml.js:143:26) at parsearticle (/usr/local/lib/node_modules/lofter2hexo/bin/readxml.js:204:29) at /usr/local/lib/node_modules/lofter2hexo/bin/readxml.js:70:31 at Array.forEach...