patch for bad behaving swf parser

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6050 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent d58b395993
commit 28b86385cd

@ -74,7 +74,13 @@ public class swfParser extends AbstractParser implements Parser {
try {
final SWF2HTML swf2html = new SWF2HTML();
String contents = swf2html.convertSWFToHTML(source);
String contents = "";
try {
contents = swf2html.convertSWFToHTML(source);
} catch (Exception e) {
// we have seen a lot of OOM errors in the parser...
e.printStackTrace();
}
String url = null;
String urlnr = null;
final String linebreak = System.getProperty("line.separator");

Loading…
Cancel
Save