Pythonã®ã©ã¤ãã©ãª(Beautiful Soup)ãå©ç¨ãã¦ã¹ã¯ã¬ã¤ãã³ã°ãã¦ã¿ã ã¤ã³ã¹ãã¼ã«ã¨ã¿ã°æä½root@hostname:/home/shimizu/python# aptitude install python-bs4 以ä¸ã®æ°è¦ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã¾ã: python-bs4 python-chardet{a} python-lxml{a} ... root@hostname:/home/shimizu/python# cat scraping-bs4.py # coding: UTF-8 import urllib2 from bs4 import BeautifulSoup res = urllib2.urlopen("http://ll.jus.or.jp/2014/program.html") # ãªãã¸ã§ã¯ã<class 'bs4.element.R


{{#tags}}- {{label}}
{{/tags}}