import.io - runining a crawler from command line gives an error -


when try run crawler cmd gives error

error: com.fasterxml.jackson.core.jsonparseexception:  unexpected end-of-input in field name @  [source: java.io.fileinputstream@19f6368; line: 2, column: 2] 

and code im using

import.ioc.exe -crawl c:\users\~\desktop\importcmd\crawler.json c:\users\~\desktop\importcmd\auth.json 

i have tried running admin still didnt work "win8 / 64bit" , using latest version of import.io

auth json

{ "userguid": "88f4ec3c97154c----b833fb4cd9fe0", "apikey": "88f4ec3c97154c46829b833----------9badfe87c502e8dc0298d153c4433c577d083afdbfbe8df13d66ec762c5a102edcd849a36b1879b5f0f73787a1f99531c9b66679" 

}

crawler json

    {      "cookiesenabled":false,    "robotsdisabled":false,    "canonicaldisabled":false,    "outputfile":"c:\\users\\~\\desktop\\import.io cmd\\cmd - test.csv",    "advancedmode":true,    "connections":3,    "connectorguid":"dfb05194-0000-4bbe-b990-302c65875754",    "pause":1,    "crawltemplate":[         "https://www.website.com/"    ],    "datatemplate":[         "https://www.website.com/{any}/link"    ],    "destination":"csv",    "maxdepth":0,    "starturls":[         "https://www.website.com/products/link1",       "https://www.website.com/products/link2",       "https://www.website.com/products/link3",       "https://www.website.com/products/link4",       "https://www.website.com/products/link5",       "https://www.website.com/products/link6"    ],    "local":false }     

i met same issue. platform windows 7.

if copy auth.json import.io knowledge base (http://support.import.io/knowledgebase/articles/325728-command-line-crawling), there u+feff character in head of second line.

remove , can run crawler in windows.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -