mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-04-29 10:25:43 +02:00
Update adapter_royalroadcom.py
forgot the spoilers the first time
This commit is contained in:
parent
ba9272822b
commit
3f2f2a33d3
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ class RoyalRoadAdapter(BaseSiteAdapter):
|
|||
if style_content and 'display: none;' in style_content.lower():
|
||||
class_matches = re.findall(r'\.(\S+)\s*\{\s*display:\s*none;\s*\}', style_content)
|
||||
self.styles_to_ignore.update(class_matches)
|
||||
self.handle_spoilers(soup)
|
||||
return soup
|
||||
|
||||
def handle_spoilers(self,topsoup):
|
||||
|
|
|
|||
Loading…
Reference in a new issue