{"id":46026,"date":"2025-04-19T22:24:42","date_gmt":"2025-04-19T13:24:42","guid":{"rendered":"https:\/\/www.d0web.com\/blog\/?p=46026"},"modified":"2025-04-19T22:24:42","modified_gmt":"2025-04-19T13:24:42","slug":"%e6%97%a5%e5%a0%b1-2025-04-13","status":"publish","type":"post","link":"https:\/\/www.d0web.com\/blog\/archives\/46026","title":{"rendered":"\u65e5\u5831 2025.04.13"},"content":{"rendered":"\n<p>\u5927\u962a\u4e07\u535a\u958b\u50ac\u65e5\u3067\u3059\u3001\u3081\u3067\u305f\u3044\u3002<br>\u305d\u3046\u3044\u3084\u30c1\u30b1\u30c3\u30c8\u5916\u308c\u3066\u304b\u3089\u3069\u3046\u3067\u3082\u3044\u3044\u3084\u3068\u4e0d\u8c9e\u8150\u308c\u3066\u305f\u3089\u3042\u3044\u306b\u304f\u306e\u5927\u96e8\u306e\u3088\u3046\u3067\u307e\u3055\u306b\u51fa\u3060\u3057\u6700\u60aa\u3067\u30c6\u30f3\u30b7\u30e7\u30f3\u3042\u304c\u308b\u3002\u304a\u307e\u3051\u306b\u30d6\u30eb\u30fc\u30a4\u30f3\u30d1\u30eb\u30b9\u3082\u98db\u884c\u4e2d\u6b62\u3063\u307d\u3044\u3002<\/p>\n\n\n\n<p>\u305d\u3046\u3044\u30844\/8\u306b\u958b\u59cb\u3057\u3066\u305f\u547d\u306e\u8f1d\u304d\u30b3\u30a4\u30f3\u4ea4\u63db\u5fd8\u308c\u3066\u305f\u308f\u3002\u3082\u3046\u7121\u3044\u304b\u3057\u3089\uff1f<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/news.yahoo.co.jp\/articles\/83de9bb147ff31a7ddd34dbe8399998c946cfe1c\">\u4e07\u535a\u300c\u30df\u30e3\u30af\u30df\u30e3\u30af\u300d\u30c7\u30b6\u30a4\u30f3\u306e\u8a18\u5ff5\u786c\u8ca8\u304c\u767b\u5834\u3001\u5b9f\u969b\u306b\u5165\u624b\u3057\u3066\u304d\u305f\u3000SNS\u3067\u611f\u3058\u305f\u4eba\u6c17\u3001\u5168\u56fd\u306e\u91d1\u878d\u6a5f\u95a2\u3067\u5f15\u304d\u63db\u3048\u53ef\u80fd\uff08\u306d\u3068\u3089\u307c\uff09 &#8211; Yahoo!\u30cb\u30e5\u30fc\u30b9<\/a><\/li>\n<\/ul>\n\n\n\n<p>\u30a8\u30ea\u30fc\u30c8\u98ef\u3002\u30a6\u30b9\u30bf\u30fc\u30bd\u30fc\u30b9\u4e45\u3005\u306b\u55b0\u3063\u305f\u3051\u3069\u304b\u306a\u308a\u65e8\u3044\u306a&#8230;\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-thumbnail\"><a href=\"https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_141738547.jpg\"><img decoding=\"async\" width=\"341\" height=\"256\" src=\"https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_141738547-341x256.jpg\" alt=\"\" class=\"wp-image-46098\" srcset=\"https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_141738547-341x256.jpg 341w, https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_141738547-300x225.jpg 300w, https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_141738547-1024x768.jpg 1024w, https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_141738547-768x576.jpg 768w, https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_141738547.jpg 1232w\" sizes=\"(max-width: 341px) 100vw, 341px\" \/><\/a><\/figure>\n\n\n\n<p>\u4eca\u65e5\u306f\u5927\u4eba\u3057\u304fLP\u96c6\u8a08\u30b7\u30b9\u30c6\u30e0\u306e\u30e1\u30f3\u30c6\u3002<br>\u30d5\u30a9\u30ef\u30fc\u30c9\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u304d\u306b2\u8981\u7d20\u8a8d\u8a3c\u304c\u5c0e\u5165\u3055\u308c\u305f\u3063\u307d\u304f\u3001\u3053\u308c\u306e\u305b\u3044\u3067selenium\u304b\u3089\u306e\u30ed\u30b0\u30a4\u30f3\u306b\u5931\u6557\u3057\u3066\u3044\u308b\u6a21\u69d8\u3002<\/p>\n\n\n\n<p>\u4e45\u3005\u306bPython 3.7\u306eDevContainer\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092VSCode\u3067\u30c7\u30d0\u30c3\u30b0\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u51fa\u529b\u304c\u3002<\/p>\n\n\n\n<p><code>ImportError: cannot import name 'Literal' from 'typing' (\/usr\/local\/lib\/python3.7\/typing.py)<\/code><\/p>\n\n\n\n<p>\u3053\u308c\u306fVSCode\u306ePython\u62e1\u5f35\u6a5f\u80fd\u304c\u53e4\u3044Python\u306b\u5bfe\u5fdc\u3057\u306a\u304f\u306a\u3063\u305f\u5834\u5408\u306b\u51fa\u308b\u3089\u3057\u3044\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/qiita.com\/yomon8\/items\/d676543c47b9bf40e949\" target=\"_blank\" rel=\"noopener\" title=\"\">VSCode\u3067\u53e4\u3044Python\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3068Getting code actions from \u2026\u306a\u308a\u6b62\u307e\u308b #Python3 &#8211; Qiita<\/a><\/li>\n<\/ul>\n\n\n\n<p>devcontainer.json\u306b\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u6307\u5b9a\u306ePython\u62e1\u5f35\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066Rebuild\u3057\u3066\u3042\u3052\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    ...\n    \"extensions\": &#091;\n        \"ms-python.python@2024.0.1\",\n        ...\n    ],\n    ...\n}\n<\/code><\/pre>\n\n\n\n<p>\u554f\u984c\u306e2\u8981\u7d20\u8a8d\u8a3c\u306e\u7a81\u7834\u3092\u81ea\u52d5\u5316\u3059\u308b\u306e\u306f\u305d\u3053\u305d\u3053\u306e\u96e3\u6613\u5ea6\u306a\u306e\u3067\u3001\u624b\u52d5\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u3042\u3068\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u5207\u308c\u308b\u307e\u3067\u52d5\u304b\u3057\u3066\u5207\u308c\u305f\u3089\u30a8\u30e9\u30fc\u901a\u77e5\u3057\u3066\u518d\u5ea6\u5165\u529b\u3059\u308b\u3068\u3044\u3046\u904b\u7528\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u304c\u3001\u3069\u3046\u3082selenium\u3067\u30ed\u30b0\u30a4\u30f3\u6642\u306e\u30af\u30c3\u30ad\u30fc\u3092\u518d\u5ea6\u8aad\u307f\u8fbc\u3093\u3067\u30822\u8981\u7d20\u8a8d\u8a3c\u304c\u5fa9\u6d3b\u3059\u308b\u3002<br>\u5c11\u3057\u30b5\u30fc\u30d9\u30a4\u3059\u308b\u3068\u30af\u30c3\u30ad\u30fc\u3058\u3083\u306a\u304f\u3066\u30e6\u30fc\u30b6\u30fc\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3046\u3088\u3046\u306b\u3059\u308b\u3068\u3044\u3051\u308b\u3063\u307d\u3044\u3002<\/p>\n\n\n\n<p>Docker\u30b3\u30f3\u30c6\u30ca\u306a\u306e\u3067webdriver.Chrome()\u3058\u3083\u306a\u304f\u3066webdriver.Remote()\u3067\u30d6\u30e9\u30a6\u30b6\u5b9f\u884c\u3057\u3066\u3044\u308b\u306e\u3060\u3051\u3069\u3001<code>--user-data-dir<\/code>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u308b\u3068\u30e1\u30c3\u30bb\u30fc\u30b8\u51fa\u529b\u306a\u3057\u3067\u30a8\u30e9\u30fc\u3068\u306a\u3063\u3066\u3057\u307e\u3046\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30d9\u30a4\u3057\u305f\u60c5\u5831\u4e00\u5fdc\u30e1\u30e2\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/SeleniumHQ\/selenium\/issues\/12050\" target=\"_blank\" rel=\"noopener\" title=\"\">[\ud83d\udc1b Bug]: &#8211;user-data-dir argument not working with remote webdriver. \u00b7 Issue #12050 \u00b7 SeleniumHQ\/selenium<\/a><\/li>\n<\/ul>\n\n\n\n<p>selenium\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092 3.141.0 \u304b\u3089 4.6.0 \u306b\u30a2\u30c3\u30d7\u3057\u3066\u307f\u308b\u3068\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3061\u3083\u3093\u3068\u51fa\u529b\u3055\u308c\u305f\u3002\u3088\u3046\u3084\u304f\u539f\u56e0\u8abf\u67fb\u306b\u9032\u3081\u305d\u3046\u3067\u3059\u304c\u75b2\u308c\u305f\u306e\u3067\u307e\u305f\u4eca\u5ea6\u3002<\/p>\n\n\n\n<p>VR\u30c0\u30f3\u30ec\u30dc 303.26 kcal<br>#\u660e\u308b\u3044\u30a4\u30b1\u30e1\u30f3\u5316\u8a08\u753b #\u660e\u308b\u3044\u7f8e\u5c11\u5973\u5316\u8a08\u753b<\/p>\n\n\n\n<figure class=\"wp-block-image size-thumbnail\"><a href=\"https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_211050838.jpg\"><img decoding=\"async\" width=\"341\" height=\"256\" src=\"https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_211050838-341x256.jpg\" alt=\"\" class=\"wp-image-46109\" srcset=\"https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_211050838-341x256.jpg 341w, https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_211050838-300x225.jpg 300w, https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_211050838-1024x768.jpg 1024w, https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_211050838-768x576.jpg 768w, https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_211050838.jpg 1232w\" sizes=\"(max-width: 341px) 100vw, 341px\" \/><\/a><\/figure>\n\n\n\n<p>\u30a8\u30ea\u30fc\u30c8\u98ef\u3002\u30d1\u30c3\u30b7\u30d6\u7121\u6599\u98ef\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-thumbnail\"><a href=\"https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_221508862.jpg\"><img decoding=\"async\" width=\"341\" height=\"256\" src=\"https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_221508862-341x256.jpg\" alt=\"\" class=\"wp-image-46110\" srcset=\"https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_221508862-341x256.jpg 341w, https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_221508862-300x225.jpg 300w, https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_221508862-1024x768.jpg 1024w, https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_221508862-768x576.jpg 768w, https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_221508862.jpg 1232w\" sizes=\"(max-width: 341px) 100vw, 341px\" \/><\/a><\/figure>\n\n\n\n<p>\u304a\u308f\u3044<\/p>\n\n\n<div class='bootstrap-yop yop-poll-mc'>\n\t\t\t\t\t\t\t<div class=\"yop-poll-container\" data-id=\"1387\" data-ajax=\"1\" data-tid=\"\" data-pid=\"46026\" data-show-results-only=\"false\"><\/div>\n\t\t\t\t\t\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u962a\u4e07\u535a\u958b\u50ac\u65e5\u3067\u3059\u3001\u3081\u3067\u305f\u3044\u3002\u305d\u3046\u3044\u3084\u30c1\u30b1\u30c3\u30c8\u5916\u308c\u3066\u304b\u3089\u3069\u3046\u3067\u3082\u3044\u3044\u3084\u3068\u4e0d\u8c9e\u8150\u308c\u3066\u305f\u3089\u3042\u3044\u306b\u304f\u306e\u5927\u96e8\u306e\u3088\u3046\u3067\u307e\u3055\u306b\u51fa\u3060\u3057&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":46098,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-46026","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-d0"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/www.d0web.com\/blog\/wp-content\/uploads\/2025\/04\/PXL_20250413_141738547.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.d0web.com\/blog\/wp-json\/wp\/v2\/posts\/46026","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.d0web.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.d0web.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.d0web.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.d0web.com\/blog\/wp-json\/wp\/v2\/comments?post=46026"}],"version-history":[{"count":12,"href":"https:\/\/www.d0web.com\/blog\/wp-json\/wp\/v2\/posts\/46026\/revisions"}],"predecessor-version":[{"id":46111,"href":"https:\/\/www.d0web.com\/blog\/wp-json\/wp\/v2\/posts\/46026\/revisions\/46111"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.d0web.com\/blog\/wp-json\/wp\/v2\/media\/46098"}],"wp:attachment":[{"href":"https:\/\/www.d0web.com\/blog\/wp-json\/wp\/v2\/media?parent=46026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.d0web.com\/blog\/wp-json\/wp\/v2\/categories?post=46026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.d0web.com\/blog\/wp-json\/wp\/v2\/tags?post=46026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}