opengraph support
This commit is contained in:
parent
0e9d46c490
commit
0d69147278
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue