将数据上传到 Google 警报时出现问题
Issues when uploading data to Google Alerts
我正在尝试将公司列表上传到 Google 快讯,但出现此错误:
CasperError: Errors encountered while filling form: Unable to find field element in form: FieldNotFound: setField: Invalid field ; only HTMLElement is supported
/Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/platform/casper.js:837 in fillForm
/Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/platform/casper.js:930 in fillSelectors
/Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/code/galerts.js:229
/Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/platform/casper.js:1637 in runStep
/Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/platform/casper.js:414 in checkStep
这是 sample.csv
文件数据:
Apple;At most once a week;Blogs;English;Argentina;All results;RSS feed
我运行它是:
casperjs galerts.js import --file=sample.csv --delete-others
这是程序的 Github:
https://github.com/jra11/google-alerts-export-import
发生这种情况是由于库版本不匹配,降级 casper。
我正在尝试将公司列表上传到 Google 快讯,但出现此错误:
CasperError: Errors encountered while filling form: Unable to find field element in form: FieldNotFound: setField: Invalid field ; only HTMLElement is supported
/Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/platform/casper.js:837 in fillForm
/Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/platform/casper.js:930 in fillSelectors
/Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/code/galerts.js:229
/Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/platform/casper.js:1637 in runStep
/Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/platform/casper.js:414 in checkStep
这是 sample.csv
文件数据:
Apple;At most once a week;Blogs;English;Argentina;All results;RSS feed
我运行它是:
casperjs galerts.js import --file=sample.csv --delete-others
这是程序的 Github:
https://github.com/jra11/google-alerts-export-import
发生这种情况是由于库版本不匹配,降级 casper。