Re: use with Google App Engine
Derrick Oswald <[email protected]>
| Newsgroups | gmane.comp.parsers.htmlparser.user |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Htmlparser-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/htmlparser-user