Fix a bunch of bot code and checkin systemd files

This commit is contained in:
RussellChamp committed 2018-11-01 11:05:52 -04:00
1 parent 6770c70068
commit 2a2ed1e064
26 files changed
+222 -137

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ def query(
"d": meanings,
}
params.update(kwargs)
encparams = urllib.urlencode(params)
encparams = urllib.parse.urlencode(params)
url = "http://api.duckduckgo.com/?" + encparams
request = requests.get(url, headers={"User-Agent": useragent})