opengraph support

pull/223/head
Igor Chubin 6 years ago
parent 0e9d46c490
commit 0d69147278

@ -266,6 +266,8 @@ def make_wttrin_query(parsed):
for key, val in parsed.items(): for key, val in parsed.items():
args.append('%s=%s' % (key, val)) args.append('%s=%s' % (key, val))
args.append('format=png')
url = "http://wttr.in/%s" % location url = "http://wttr.in/%s" % location
if args != []: if args != []:
url += "?%s" % ("&".join(args)) url += "?%s" % ("&".join(args))

Loading…
Cancel
Save