{"provider_name":"Hatena Blog","published":"2022-10-29 07:32:59","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.ekwbtblog.com%2Fentry%2F2022%2F10%2F29%2F073259\" title=\"How to encode and decode URLs with shell scripts - Welcome to new things\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Linux","Shell Script","ShellScript","jq","nkf","shell-script"],"description":"This is a memo on how to encode and decode URLs with shell scripts. You can find many ways to do this by searching. https://stackoverflow.com/questions/296536/how-to-urlencode-data-for-curl-command At first, we tried using nkf for both encoding and decoding, but the encoding did not work for long se\u2026","author_name":"kwbtblog","blog_url":"https://www.ekwbtblog.com/","type":"rich","title":"How to encode and decode URLs with shell scripts","blog_title":"Welcome to new things","url":"https://www.ekwbtblog.com/entry/2022/10/29/073259","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/kwbtblog/20221029/20221029072949.png","height":"190","provider_url":"https://hatena.blog","width":"100%","version":"1.0","author_url":"https://blog.hatena.ne.jp/kwbtblog/"}