Hi, Look at the url-meta plugin. By default the metadata won't be passed to the crawldatum in the fetchlist.
HTH Julien On 6 March 2014 16:20, Zabini <[email protected]> wrote: > Hi, > > I am trying to develop a plugin to do POST request. > > I know that I should extends from the Protocol class and use the Post > Method > from HTTP client (https://hc.apache.org/httpclient-3.x/methods/post.html). > And I can put metadata with the URL like this: www.example.com/postquery > method=post param=param1:value1, param2:value2. > > My problem is, I can't access the metadata (they are correctly injected I > have checked it in the Injector and I can see them when I dump the > database). When I do (in my HttpResponse class) > datum.getMetaData().get("method") the result is null. > > Could someone give me a hint of what to do? > > Thanks, > Zabini > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/HTTP-Post-request-tp4121719.html > Sent from the Nutch - User mailing list archive at Nabble.com. > -- Open Source Solutions for Text Engineering http://digitalpebble.blogspot.com/ http://www.digitalpebble.com http://twitter.com/digitalpebble

