mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 01:27:07 +00:00
Merge pull request #1246 from GiK986/development
Fix search row BeautifulSoup CSS selector
This commit is contained in:
commit
5d0da41e27
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ class YavkaNetProvider(Provider):
|
|||
|
||||
# Search on first 25 rows only
|
||||
for row in rows[:25]:
|
||||
element = row.find('a', {'class': 'selector'})
|
||||
element = row.select_one('a.balon, a.selector')
|
||||
if element:
|
||||
link = element.get('href')
|
||||
notes = re.sub(r'(?s)<p.*><img [A-z0-9=\'/\. :;#]*>(.*)</p>', r"\1", element.get('content'))
|
||||
|
|
Loading…
Reference in a new issue