Version 1.0.1: Fix Le Monde IDs in gopher
authorNiki Roo <niki@nikiroo.be>
Tue, 22 Aug 2017 18:12:38 +0000 (20:12 +0200)
committerNiki Roo <niki@nikiroo.be>
Tue, 22 Aug 2017 18:12:38 +0000 (20:12 +0200)
VERSION
changelog.md
src/be/nikiroo/gofetch/support/LeMonde.java

diff --git a/VERSION b/VERSION
index 3eefcb9dd5b38e2c1dc061052455dd97bcd51e6c..7dea76edb3dc51b6e5e8223e9f941a35c1e364d6 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.0.0
+1.0.1
index 0bd673f1d1c0c775d0cac11e1c64b387a8bbd87a..33e1b0ee629b220dfb3391855632dbdcb2d86d23 100644 (file)
@@ -2,6 +2,10 @@
 
 ## Version 1.0.0
 
+- Fix a problem in the Le Monde ids for gopher
+
+## Version 1.0.0
+
 - Add Le Monde support
 - Fix some small textual issues
 
index 4e22b4c0a9c8f6fdc93db8a09984f45b3020594a..454b7e36a82d35a8674c86f186230ebe4f88ae1f 100644 (file)
@@ -37,7 +37,8 @@ public class LeMonde extends BasicSupport {
                                Elements contentElements = article.getElementsByClass("txt3");
                                if (times.size() > 0 && titleElements.size() > 0
                                                && contentElements.size() > 0) {
-                                       String id = times.get(0).attr("datetime").replace(":", "_");
+                                       String id = times.get(0).attr("datetime").replace(":", "_")
+                                                       .replace("+", "_");
                                        String title = "[" + topic + "] "
                                                        + titleElements.get(0).text();
                                        String content = contentElements.get(0).text();