prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Asksteem is gone
  The API has been discontinued so it should probably be removed as an option entirely.
  
  </issue>
  <code>
  [start of searx/engines/asksteem.py]
  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 of searx/engines/asksteem.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
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"}]}