[khinsider] fix extraction

This commit is contained in:
Mike Fährmann
2017-09-27 21:14:22 +02:00
parent 26a866e7d8
commit 85a2b2ae59
3 changed files with 3 additions and 4 deletions

View File

@@ -59,8 +59,8 @@ class KhinsiderSoundtrackExtractor(AsynchronousExtractor):
if pos == -1:
raise exception.NotFoundError("soundtrack")
num = 0
for url in text.extract_iter(page, '<tr>\r\n\t\t<td><a href="',
'"', pos):
for url in text.extract_iter(
page, '<tr>\r\n\r\n\t \t<td><a href="', '"', pos):
page = self.request(url, encoding="utf-8").text
name, pos = text.extract(page, "Song name: <b>", "</b>")
url , pos = text.extract(