Squashed commit of the following:

commit 2395bb7a6a
Author: Ben Busby <contact@benbusby.com>
Date:   Wed Mar 6 09:35:48 2024 -0700

    Remove version from DDG bangs url

    Including the version portion of the URL now redirects to search results
    for the name of the bang file, rather than returning the bang file
    itself. Removing the version from the URL returns the correct bang file.
pull/1123/head
Ben Busby 2 months ago
parent eb20b611ff
commit 9b687a6551
No known key found for this signature in database
GPG Key ID: B9B7231E01D924A1

@ -2,7 +2,7 @@ import json
import requests
import urllib.parse as urlparse
DDG_BANGS = 'https://duckduckgo.com/bang.v255.js'
DDG_BANGS = 'https://duckduckgo.com/bang.js'
def gen_bangs_json(bangs_file: str) -> None:

Loading…
Cancel
Save