mirror of
https://github.com/kemayo/leech
synced 2025-12-26 02:03:44 +01:00
Xenforo2 title labels
This commit is contained in:
parent
a148fa8c43
commit
f002064352
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class XenForo2(XenForo):
|
|||
url = soup.find('meta', property='og:url').get('content')
|
||||
title = soup.select('h1.p-title-value')[0]
|
||||
# clean out informational bits from the title
|
||||
for tag in title.find_all(class_='prefix'):
|
||||
for tag in title.select('.labelLink,.label-append'):
|
||||
tag.decompose()
|
||||
return Section(
|
||||
title=title.get_text().strip(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue