Only grab the first line of the title string.

This commit is contained in:
A. Svensson 2015-02-18 16:44:20 +01:00
parent a6b691e7db
commit 8122d011e8

View File

@ -54,7 +54,7 @@ class ServerParser(object):
def _parse_server_data(self, data):
'''Parse the individual parts of each server.'''
title = data.find('b').text.strip()
title = data.find('b').text.splitlines()[0].strip()
game_url = data.find('span', 'smaller').text
tmp = data.find('a')