mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
936aa385df
commit
fdd06256bf
@ -90,7 +90,7 @@ class Search():
|
|||||||
|
|
||||||
def search_handler(self, searchdict):
|
def search_handler(self, searchdict):
|
||||||
try:
|
try:
|
||||||
results = requests.get(searchdict["searchurl"], headers=self.header).json()
|
results = requests.get(searchdict["searchurl"], headers=self.header).text()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
results = e
|
results = e
|
||||||
logs.log('SpiceBot_Search', str(e))
|
logs.log('SpiceBot_Search', str(e))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user