diff --git a/screenless/bureau/publications/publications.py b/screenless/bureau/publications/publications.py index 34b2434..e01c07e 100644 --- a/screenless/bureau/publications/publications.py +++ b/screenless/bureau/publications/publications.py @@ -178,6 +178,9 @@ class Publications(Bureau): self.log.warning("Timeout fetching OpenGraph data from document %s", url) return ogdata + except requests.exceptions.MissingSchema: + self.log.warning("Can't get OpenGraph data from bogus URL %s", url) + return ogdata html = lxml.html.document_fromstring(resp.text)