Skip to content

Instantly share code, notes, and snippets.

@nijave
Created May 31, 2023 12:25
Show Gist options
  • Save nijave/882cc65ea9e27ece90936ac55d90e40f to your computer and use it in GitHub Desktop.
Save nijave/882cc65ea9e27ece90936ac55d90e40f to your computer and use it in GitHub Desktop.

Revisions

  1. nijave created this gist May 31, 2023.
    6 changes: 6 additions & 0 deletions parse-qs.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    python3 -c '
    import json
    import sys
    from urllib.parse import urlparse, parse_qs
    print(json.dumps(parse_qs(urlparse(sys.argv[1]).query)))
    '