mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-05 02:51:48 +02:00
Change wraithbaitcom to use BeautifulSoup, not Stone for blockquote's in text.
This commit is contained in:
parent
312b6b2c3e
commit
1b72bbfba9
1 changed files with 1 additions and 2 deletions
|
|
@ -215,8 +215,7 @@ class WraithBaitComAdapter(BaseSiteAdapter):
|
|||
|
||||
logging.debug('Getting chapter text from: %s' % url)
|
||||
|
||||
soup = bs.BeautifulStoneSoup(self._fetchUrl(url),
|
||||
selfClosingTags=('br','hr')) # otherwise soup eats the br/hr tags.
|
||||
soup = bs.BeautifulSoup(self._fetchUrl(url))
|
||||
|
||||
div = soup.find('div', {'id' : 'story'})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue