mirror of
https://github.com/kemayo/leech
synced 2025-12-30 04:02:21 +01:00
Xenforo: exclude threadmarks from links, too
This commit is contained in:
parent
5b4b9a0dc3
commit
40042cdb46
1 changed files with 4 additions and 1 deletions
|
|
@ -35,7 +35,10 @@ class XenForo(Site):
|
|||
author=soup.find('p', id='pageDescription').find('a', class_='username').get_text()
|
||||
)
|
||||
|
||||
marks = [mark for mark in self._chapter_list(url) if '/members' not in mark.get('href')]
|
||||
marks = [
|
||||
mark for mark in self._chapter_list(url)
|
||||
if '/members' not in mark.get('href') and '/threadmarks' not in mark.get('href')
|
||||
]
|
||||
marks = marks[self.options.offset:self.options.limit]
|
||||
|
||||
for idx, mark in enumerate(marks, 1):
|
||||
|
|
|
|||
Loading…
Reference in a new issue