Ruby ã®ä¾¿å©æ¨æºã©ã¤ãã©ãªçé ï¼å人çææ³ï¼ã§ãã open-uri ã§ããã ãã¾ã ã«ãopen-uri ã¯Basicèªè¨¼ã®ãããµã¤ãã«ã¯ä½¿ããªããã¨ããé½å¸ä¼èª¬(?)ãã ãããªé¢¨ã« :http_basic_authentication ãªãã·ã§ã³ãä¸ãããã¨ã§ã§ãããã require 'open-uri' open('http://www.example.com/authenticated_page/', :http_basic_authentication => ['username', 'password']) ç¾å¨ã®ããã¥ã¢ã«ã«ã¯è¼ã£ã¦ããªã ã®ã§æ³¨æã æ°ããæ¹ã«ãç¹ã«æ¸ãã¦ã¯ããªãã¿ããã ã¡ãªã¿ã«ããã°ã¬ã¹ãã¼ã®ããã« :content_length_proc 㨠:progress_proc ã使ããããç°¡åã«ä½ãã¨ãããªæãã«ã open(downloading
{{#tags}}- {{label}}
{{/tags}}