--- old+++ new@@ -1,5 +1,5 @@
when an invalid URI is passed to <http>, the resulting IllegalArgumentException stops the scraper even if surrounded by a <try> block. eg :
-+~~~~~~
<config>
<try>
<body>
@@ -8,3 +8,4 @@
<catch/>
</try>
</config>
+~~~~~~
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
--- old+++ new@@ -1,4 +1,5 @@
when an invalid URI is passed to <http>, the resulting IllegalArgumentException stops the scraper even if surrounded by a <try> block. eg :
+
~~~~~~
<config>
<try>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
config file to reproduce the problem
trivial fix
Diff:
Diff:
In this case we need to do bigger modification, so I have created Feature Request https://sourceforge.net/p/web-harvest/feature-requests/34/ which should allow to handle other exception's type than BaseException.