Fix some IDs and update utils
[gofetch.git] / src / be / nikiroo / gofetch / support / Slashdot.java
index 43ce13d023ff498d3a759e9eac884f351d10e79a..6fb51a6dd32cb5f0bd37692165560ca1fdb915b9 100644 (file)
@@ -45,6 +45,10 @@ public class Slashdot extends BasicSupport {
                                id = id.substring("title-".length());
                        }
 
+                       while (id.length() < 10) {
+                               id = "0" + id;
+                       }
+
                        return id;
                }