Fix bug due to 'id'-handling change
[gofetch.git] / src / be / nikiroo / gofetch / support / LWN.java
index eac12e5c239c37aa921d2945333d1b7fbc4c4e9a..144fdc90514039656168bf41fef8b850a027d4fe 100644 (file)
@@ -53,12 +53,7 @@ public class LWN extends BasicSupport {
 
        @Override
        protected String getArticleId(Document doc, Element article) {
-               String id = getArticleIntUrl(doc, article).replaceAll("[^0-9]", "");
-               while (id.length() < 10) {
-                       id = "0" + id;
-               }
-
-               return id;
+               return getArticleIntUrl(doc, article).replaceAll("[^0-9]", "");
        }
 
        @Override