forked from Ponysearch/Ponysearch
added loging for debugging
This commit is contained in:
parent
89245a1895
commit
e5f106014b
1 changed files with 4 additions and 3 deletions
|
@ -3,7 +3,8 @@
|
|||
"""
|
||||
Derpibooru (Images)
|
||||
"""
|
||||
|
||||
import json
|
||||
import logging
|
||||
from urllib.parse import urlencode
|
||||
from json import loads
|
||||
|
||||
|
@ -12,7 +13,7 @@ about = {
|
|||
"website": 'https://derpibooru.org/',
|
||||
"wikidata_id": 'Q28233552',
|
||||
"official_api_documentation": 'https://derpibooru.org/pages/api/',
|
||||
"use_official_api": False,
|
||||
"use_official_api": True,
|
||||
"require_api_key": False,
|
||||
"results": 'JSON',
|
||||
}
|
||||
|
@ -49,5 +50,5 @@ def response(resp):
|
|||
'content': result.get('description') or '',
|
||||
}
|
||||
)
|
||||
|
||||
logging.debug(results)
|
||||
return results
|
||||
|
|
Loading…
Reference in a new issue