mirror of
https://github.com/kemayo/leech
synced 2026-01-03 06:04:19 +01:00
Fix a call to _clean for royalroad
This commit is contained in:
parent
e3c63bce3c
commit
31154ed8d4
1 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ class RoyalRoad(Site):
|
|||
soup, base = self._soup(url)
|
||||
content = soup.find('div', class_='chapter-content')
|
||||
|
||||
self._clean(content, soup, base)
|
||||
self._clean(content, full_page=soup, base=base)
|
||||
self._clean_spoilers(content, chapterid)
|
||||
|
||||
content = str(content)
|
||||
|
|
@ -100,7 +100,7 @@ class RoyalRoad(Site):
|
|||
|
||||
return content, updated
|
||||
|
||||
def _clean(self, contents, full_page):
|
||||
def _clean(self, contents, full_page, base=False):
|
||||
contents = super()._clean(contents)
|
||||
|
||||
# Royalroad has started inserting "this was stolen" notices into its
|
||||
|
|
|
|||
Loading…
Reference in a new issue