[qcineoob] maybe better that backends handle capital letters
This commit is contained in:
parent
fe0b3b23de
commit
1c7e7b9dec
5 changed files with 7 additions and 8 deletions
|
|
@ -69,7 +69,7 @@ class SubtitlesPage(BasePage):
|
|||
return subtitle
|
||||
|
||||
def iter_subtitles(self,language, pattern):
|
||||
pattern = pattern.strip().replace('+',' ')
|
||||
pattern = pattern.strip().replace('+',' ').lower()
|
||||
pattern_words = pattern.split()
|
||||
tab = self.parser.select(self.document.getroot(),'table[bordercolor="#B8C0B2"]')
|
||||
if len(tab) == 0:
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
from weboob.tools.test import BackendTest
|
||||
|
||||
import urllib
|
||||
from random import choice
|
||||
|
||||
class TvsubtitlesTest(BackendTest):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue