mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-01-30 22:57:59 +00:00
732ef34ca8
Welp, I rarely take notes nowadays due to more specialized work and stuff. Though, I should have more incentives for writing. In other words, I'm just lazy. ;p More free-thinking morning sessions should be done soon.
797 B
797 B
Duckduckgo bangs data
- DDG keeps their bangs in a file
/bang.v${VERSION}.js
(e.g.,/bang.v260.js
,/bang.v245.js
) - despite the file extension, it is a JSON file
- conveniently versioned though older versions are missing
- though, you can the latest version through
/bang.js
-
slightly not readable at first glance but by taking multiple examples, we can get a pattern
d
is the domainc
is the categoryu
is the template and the URL that we sorely needt
is the trigger word, aka the thing we need to search (e.g.,!w
will havet: "w"
)a
is a list of aliasessc
is subcategory