diff options
author | emkael <emkael@tlen.pl> | 2019-02-14 01:53:44 +0300 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-02-14 01:53:44 +0300 |
commit | 865bea5681e08faebddea1e85d3294c25a4ae942 (patch) | |
tree | d8c8f8907283aff3d0f8358f408ca9875ba3b075 /fetcher.py | |
parent | 72ad1daecf81e2e6c7560badc798652fbcc96038 (diff) |
Separating players' nationalities
Diffstat (limited to 'fetcher.py')
-rw-r--r-- | fetcher.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -107,7 +107,7 @@ class Session(object): pair_number = int(pair_link.group(1)) if pair_number not in self.tournament.pairs: names = [a.text for a in row.select('a[href]') if 'person.asp' in a['href']] - nationalities = row.select('td')[-2].text + nationalities = row.select('td')[-2].text.split(' - ') pair = Pair(pair_number, names, nationalities, self.tournament) self.tournament.pairs[pair_number] = pair for row in self.content.select('tr tr'): |