prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Asksteem is gone
  The API has been discontinued so it should probably be removed as an option entirely.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `searx/engines/asksteem.py`
  Content:
  ```
  1 """
  2  Asksteem (general)
  3 
  4  @website     https://asksteem.com/
  5  @provide-api yes
  6 
  7  @using-api   yes
  8  @results     JSON (https://github.com/Hoxly/asksteem-docs/wiki)
  9  @stable      yes
  10  @parse       url, title, content
  11 """
  12 
  13 from json import loads
  14 from searx.url_utils import urlencode
  15 
  16 # engine dependent config
  17 categories = ['general']
  18 paging = True
  19 language_support = False
  20 disabled = True
  21 
  22 # search-url
  23 search_url = 'https://api.asksteem.com/search?{params}'
  24 result_url = 'https://steemit.com/@{author}/{title}'
  25 
  26 
  27 # do search-request
  28 def request(query, params):
  29     url = search_url.format(params=urlencode({'q': query, 'pg': params['pageno']}))
  30     params['url'] = url
  31     return params
  32 
  33 
  34 # get response from search-request
  35 def response(resp):
  36     json = loads(resp.text)
  37 
  38     results = []
  39 
  40     for result in json.get('results', []):
  41         results.append({'url': result_url.format(author=result['author'], title=result['permlink']),
  42                         'title': result['title'],
  43                         'content': result['summary']})
  44     return results
  45
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/searx/engines/asksteem.py b/searx/engines/asksteem.py
  deleted file mode 100644
  --- a/searx/engines/asksteem.py
  +++ /dev/null
  @@ -1,44 +0,0 @@
  -"""
  - Asksteem (general)
  -
  - @website     https://asksteem.com/
  - @provide-api yes
  -
  - @using-api   yes
  - @results     JSON (https://github.com/Hoxly/asksteem-docs/wiki)
  - @stable      yes
  - @parse       url, title, content
  -"""
  -
  -from json import loads
  -from searx.url_utils import urlencode
  -
  -# engine dependent config
  -categories = ['general']
  -paging = True
  -language_support = False
  -disabled = True
  -
  -# search-url
  -search_url = 'https://api.asksteem.com/search?{params}'
  -result_url = 'https://steemit.com/@{author}/{title}'
  -
  -
  -# do search-request
  -def request(query, params):
  -    url = search_url.format(params=urlencode({'q': query, 'pg': params['pageno']}))
  -    params['url'] = url
  -    return params
  -
  -
  -# get response from search-request
  -def response(resp):
  -    json = loads(resp.text)
  -
  -    results = []
  -
  -    for result in json.get('results', []):
  -        results.append({'url': result_url.format(author=result['author'], title=result['permlink']),
  -                        'title': result['title'],
  -                        'content': result['summary']})
  -    return results
  
verification_info: {"golden_diff": "diff --git a/searx/engines/asksteem.py b/searx/engines/asksteem.py\ndeleted file mode 100644\n--- a/searx/engines/asksteem.py\n+++ /dev/null\n@@ -1,44 +0,0 @@\n-\"\"\"\n- Asksteem (general)\n-\n- @website     https://asksteem.com/\n- @provide-api yes\n-\n- @using-api   yes\n- @results     JSON (https://github.com/Hoxly/asksteem-docs/wiki)\n- @stable      yes\n- @parse       url, title, content\n-\"\"\"\n-\n-from json import loads\n-from searx.url_utils import urlencode\n-\n-# engine dependent config\n-categories = ['general']\n-paging = True\n-language_support = False\n-disabled = True\n-\n-# search-url\n-search_url = 'https://api.asksteem.com/search?{params}'\n-result_url = 'https://steemit.com/@{author}/{title}'\n-\n-\n-# do search-request\n-def request(query, params):\n-    url = search_url.format(params=urlencode({'q': query, 'pg': params['pageno']}))\n-    params['url'] = url\n-    return params\n-\n-\n-# get response from search-request\n-def response(resp):\n-    json = loads(resp.text)\n-\n-    results = []\n-\n-    for result in json.get('results', []):\n-        results.append({'url': result_url.format(author=result['author'], title=result['permlink']),\n-                        'title': result['title'],\n-                        'content': result['summary']})\n-    return results\n", "issue": "Asksteem is gone\nThe API has been discontinued so it should probably be removed as an option entirely.\n", "before_files": [{"content": "\"\"\"\n Asksteem (general)\n\n @website     https://asksteem.com/\n @provide-api yes\n\n @using-api   yes\n @results     JSON (https://github.com/Hoxly/asksteem-docs/wiki)\n @stable      yes\n @parse       url, title, content\n\"\"\"\n\nfrom json import loads\nfrom searx.url_utils import urlencode\n\n# engine dependent config\ncategories = ['general']\npaging = True\nlanguage_support = False\ndisabled = True\n\n# search-url\nsearch_url = 'https://api.asksteem.com/search?{params}'\nresult_url = 'https://steemit.com/@{author}/{title}'\n\n\n# do search-request\ndef request(query, params):\n    url = search_url.format(params=urlencode({'q': query, 'pg': params['pageno']}))\n    params['url'] = url\n    return params\n\n\n# get response from search-request\ndef response(resp):\n    json = loads(resp.text)\n\n    results = []\n\n    for result in json.get('results', []):\n        results.append({'url': result_url.format(author=result['author'], title=result['permlink']),\n                        'title': result['title'],\n                        'content': result['summary']})\n    return results\n", "path": "searx/engines/asksteem.py"}], "after_files": [{"content": null, "path": "searx/engines/asksteem.py"}]}