Created
May 6, 2015 14:19
-
-
Save geojackass/b10494adf10c5d94030f to your computer and use it in GitHub Desktop.
steephillからとりあえずデータを取得する。##TODOタグをよく確認して、BeautifulSoupでstartlistを作成する。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [5]: | |
import urllib | |
url = "http://www.steephill.tv/giro-d-italia/" | |
res = urllib.urlopen(url) | |
html = res.read() | |
html | |
Out[5]: | |
'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"\n "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>2015 Giro d\'Italia Live Video, Preview, Startlist, Results, Photos, TV</title><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta name="keywords" content="bicycle, racing, Italy, live video, startlist, photos, english">... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment