開発に役立つメモ集
- タグ検索:
- BeautifulSoup
最終更新:2014/11/24 13:33
from bs4 import BeautifulSoup from urllib import request response = request.urlopen("http://memoon.mskjp.com") soup = BeautifulSoup(response.read()) #本題はここ print( soup.original_encoding )
from bs4 import BeautifulSoup from urllib import request response = request.urlopen("http://memoon.mskjp.com") soup = BeautifulSoup(response.read()) #本題はここ print( soup.original_encoding )