From 0d6914727890d60884287346267e0d3eda11db79 Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Wed, 3 Oct 2018 18:58:40 +0200 Subject: [PATCH] opengraph support --- lib/wttrin_png.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/wttrin_png.py b/lib/wttrin_png.py index 86e4b50..4c39671 100644 --- a/lib/wttrin_png.py +++ b/lib/wttrin_png.py @@ -266,6 +266,8 @@ def make_wttrin_query(parsed): for key, val in parsed.items(): args.append('%s=%s' % (key, val)) + args.append('format=png') + url = "http://wttr.in/%s" % location if args != []: url += "?%s" % ("&".join(args))