2013-05-23から1日間の記事一覧

Pythonでスクレイピング3(日付の変換)

今治市役所お知らせの取得(日付の変換) import datetime from bs4 import BeautifulSoup from urllib.request import urlopen from urllib.parse import urljoin def date_conv(hiduke): return str(datetime.date(hiduke.year, hiduke.month, hiduke.day)…