Explorar el Código

url list not dict list

David hace 10 años
padre
commit
d83d7d1b41
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      frontpage.py

+ 2 - 1
frontpage.py

@@ -40,4 +40,5 @@ class FrontPage():
                 print(url)
                 continue
             #self.links.append({ "href": self.fixHref(l["href"],url),"title":l.get_text() })
-            self.links.append({ "href": self.fixHref(l["href"],url)})
+            #self.links.append({ "href": self.fixHref(l["href"],url)})
+            self.links.append(self.fixHref(l["href"],url))