diff --git a/screenless/bureau/publications/publications.py b/screenless/bureau/publications/publications.py index 1efe2fb..86da7a0 100644 --- a/screenless/bureau/publications/publications.py +++ b/screenless/bureau/publications/publications.py @@ -182,7 +182,7 @@ class Publications(Bureau): html = lxml.html.document_fromstring(resp.text) #find all elements with property="og:" - elements = html.findall(".//[@property]") + elements = html.findall(".//*[@property]") for element in elements: prop = element.get("property") val = element.get("content")