mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-03-11 08:54:34 +00:00
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.
This commit is contained in:
parent
c216c033ef
commit
2395bb7a6a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue