Merge pull request #1246 from GiK986/development

Fix search row BeautifulSoup CSS selector
This commit is contained in:
morpheus65535 2021-01-25 13:12:35 -05:00 committed by GitHub
commit 5d0da41e27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'))