Annona Keene wrote: > I'm working on crawling a page that has multiple versions based on > your browser's language preference. Is there a way I can set a locale > in Nutch so that it will get the pages I'm looking for? For example, > I'd like to set my locale to Japanese so when I fetch www.foo.com I > get the index.ja.html page instead of the English page.
Please see org.apache.nutch.protocol.httpclient.Http.java:116 - currently this is hardcoded, but it would be easy to turn it into a configuration parameter. -- Best regards, Andrzej Bialecki <>< ___. ___ ___ ___ _ _ __________________________________ [__ || __|__/|__||\/| Information Retrieval, Semantic Web ___|||__|| \| || | Embedded Unix, System Integration http://www.sigram.com Contact: info at sigram dot com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
