ããã°ãã¯ãæè¿ãã£ããæããªãã¾ãããã æè¿Webãµã¤ããã¯ãã¼ã«ããï¼ãµã¤ãã®æ¹ã«ã¯è¨±å¯ãããã£ã¦ã¾ãï¼ä»äºããããã£ã¦ãã¦ãã»ãã·ã§ã³ããã¡ãã¨ã¿ã¦ç»é¢é·ç§»ãã³ã³ããã¼ã«ãã¦ãããµã¤ããã¯ãã¼ã«ããã¨ãã«åå¼·ã«ãªã£ããã¨ãã¾ã¨ãã¾ãã ä»åãè¨èªã¯Rubyã§ä½ã£ã¦ã¿ã¾ããã å½åopen-uriã使ã£ã¦Webãã¼ã¸ã®htmlã½ã¼ã¹åå¾ãã¦ãã¾ããã require 'open-uri' require 'kconv' CHROME_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7' html = open(url, {"User-Agent" => CHROME_USER_
{{#tags}}- {{label}}
{{/tags}}