Skip to content

Instantly share code, notes, and snippets.

View coletdjnz's full-sized avatar
☄️

coletdjnz coletdjnz

☄️
View GitHub Profile
@unixfox
unixfox / README.md
Last active November 11, 2022 07:41
Different ways to get json output from Google servers API
  • When async something is in the URL, add/modify async=_fmt:json.
  • You can try the query string alt=json for some APIs like the youtube one
  • You can also try the query string fmt=json
  • For some API, get the JSON result by modifying the client name used. Example:

    So, short version: curl "https://www.google.com/complete/search?client=qsb-android-asbl-pb&q=" -H "user-agent: Mozilla/5.0 AppleWebKit/537.36 GSA/10.77.9.21.x86" -output trend.proto It seems that it combines geoIP with the field &hl= in order to decide which trends to show, and perhaps also gl= It allows for three different clients in order to get json, ajax-json or protobuffer. Respectively, qsb-android, qsb-android-asbl and qsb-android-asbl-pb

@MinePlayersPE
MinePlayersPE / clientdump-1649214692.json
Last active April 8, 2023 15:08
youtube internal clients
[
"UNKNOWN_INTERFACE",
"WEB",
"MWEB",
"ANDROID",
"IOS",
"TVHTML5",
"TVLITE",
"TVANDROID",
"XBOX",
@luukvbaal
luukvbaal / cacheremove.hook
Last active February 20, 2024 01:52
yay paccache hooks
[Trigger]
Operation = Remove
Type = Package
Target = *
[Action]
Description = Clearing cache...
When = PostTransaction
Exec = /home/<user>/.local/bin/tools/removehook