summaryrefslogtreecommitdiff
path: root/dumps
diff options
context:
space:
mode:
Diffstat (limited to 'dumps')
-rw-r--r--dumps/_sites/chicane-f1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dumps/_sites/chicane-f1.py b/dumps/_sites/chicane-f1.py
index 07d90c9..b308d44 100644
--- a/dumps/_sites/chicane-f1.py
+++ b/dumps/_sites/chicane-f1.py
@@ -7,7 +7,7 @@ from lxml import html
def fetch(url):
contents = urllib2.urlopen(url).read()
tree = html.fromstring(contents)
- title = tree.xpath("//title")[0].text
+ title = tree.xpath("//h1")[0].text + ' - ' + tree.xpath('//span[@class="subtitle"]')[0].text
tables = tree.xpath("//table[@cellpadding=6]")
print url
print title