Re: [Htmlparser-user] use with Google App Engine
Brought to you by:
derrickoswald
From: Derrick O. <der...@gm...> - 2009-12-08 06:24:59
|
On connection open, if cookie processing is enabled, it will attempt to parse whatever cookies came back with the HTTP response. This looks like it hit a bad one. You can turn this processing off with parser.getConnectionManager ().setCookieProcessingEnabled(false) On Tue, Dec 8, 2009 at 12:31 AM, Andy Wickson <an...@aw...> wrote: > Has anyone used HtmlParser with GAE? > I have a url I parse ok in 'dev mode' but when I publish the code the the > live environment I get the following exception when parsing the same page: > > java.lang.IllegalStateException: no cookie value > at org.htmlparser.http.ConnectionManager.parseCookies(ConnectionManager.java:1131) > at org.htmlparser.http.ConnectionManager.openConnection(ConnectionManager.java:669) > at org.htmlparser.http.ConnectionManager.openConnection(ConnectionManager.java:848) > at org.htmlparser.Parser.setURL(Parser.java:392) > > > Anyone know why I find myself parsing Cookies anyway? > > > cheers > > Andy > > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > |