ContentMine / getpapers

Get metadata, fulltexts or fulltext URLs of papers matching a search query
MIT License
197 stars 37 forks source link

No warning that --api ieee -s won't work #35

Closed rossmounce closed 9 years ago

rossmounce commented 9 years ago

ditto for ieee + -s

$ getpapers -q 'Gasteria' --api ieee -s  --outdir ./car
info: Searching using ieee API

TypeError: Cannot read property 'totalfound' of undefined
    at IEEE.completeCallback (/home/ross/.nvm/v0.10.38/lib/node_modules/getpapers/lib/ieee.js:72:38)
    at Request.emit (events.js:98:17)
    at Request.mixin._fireSuccess (/home/ross/.nvm/v0.10.38/lib/node_modules/getpapers/node_modules/restler/lib/restler.js:226:10)
    at /home/ross/.nvm/v0.10.38/lib/node_modules/getpapers/node_modules/restler/lib/restler.js:158:20
    at /home/ross/.nvm/v0.10.38/lib/node_modules/getpapers/node_modules/restler/lib/restler.js:448:9
    at Parser.<anonymous> (/home/ross/.nvm/v0.10.38/lib/node_modules/getpapers/node_modules/restler/node_modules/xml2js/lib/xml2js.js:344:20)
    at Parser.emit (events.js:95:17)
    at Object.saxParser.onclosetag (/home/ross/.nvm/v0.10.38/lib/node_modules/getpapers/node_modules/restler/node_modules/xml2js/lib/xml2js.js:314:24)
    at emit (/home/ross/.nvm/v0.10.38/lib/node_modules/getpapers/node_modules/restler/node_modules/xml2js/node_modules/sax/lib/sax.js:615:33)
    at emitNode (/home/ross/.nvm/v0.10.38/lib/node_modules/getpapers/node_modules/restler/node_modules/xml2js/node_modules/sax/lib/sax.js:620:3)