{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fend0tknr.hateblo.jp%2Fentry%2F20220813%2F1660359404\" title=\"Pillow for python \u306b\u3088\u308b\u753b\u50cfdownload\u3068 png\u5f62\u5f0f\u3067\u306e\u4fdd\u5b58 - end0tknr&#39;s kipple - web\u5199\u7d4c\u958b\u767a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"end0tknr","blog_url":"https://end0tknr.hateblo.jp/","published":"2022-08-13 11:56:44","title":"Pillow for python \u306b\u3088\u308b\u753b\u50cfdownload\u3068 png\u5f62\u5f0f\u3067\u306e\u4fdd\u5b58","url":"https://end0tknr.hateblo.jp/entry/20220813/1660359404","blog_title":"end0tknr's kipple - web\u5199\u7d4c\u958b\u767a","image_url":null,"type":"rich","height":"190","provider_name":"Hatena Blog","description":"\u5148\u7a0b\u306eentry\u306e\u7d9a\u304d\u3067\u3059\u3002 step 1 request.urlopen() \u3067\u753b\u50cf\u3092download\u3057 step 2 io.BytesIO()\u3067 file\u5316\u3057 step 3 Pillow \u306b\u3066 png\u5f62\u5f0f\u3067\u4fdd\u5b58 \u3057\u307e\u3059 #!/usr/local/bin/python3 # -*- coding: utf-8 -*- from PIL import Image from urllib import request import io import re import sys def main(): urls_file_path = sys.argv[1] re_compile = re.co\u2026","version":"1.0","categories":[],"provider_url":"https://hatena.blog","width":"100%","author_url":"https://blog.hatena.ne.jp/end0tknr/"}