mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
Fix storiesonline.net site changes
This commit is contained in:
parent
c4c4ff152f
commit
0a07ebc8b2
1 changed files with 2 additions and 2 deletions
|
|
@ -321,7 +321,7 @@ class StoriesOnlineNetAdapter(BaseSiteAdapter):
|
|||
soup = bs.BeautifulSoup(self._fetchUrl(url),
|
||||
selfClosingTags=('br','hr')) # otherwise soup eats the br/hr tags.
|
||||
|
||||
div = soup.find('div', {'id' : 'story'})
|
||||
div = soup.find('article', {'id' : 'story'})
|
||||
|
||||
# some big chapters are split over several pages
|
||||
pager = div.find('span', {'class' : 'pager'})
|
||||
|
|
@ -343,7 +343,7 @@ class StoriesOnlineNetAdapter(BaseSiteAdapter):
|
|||
soup = bs.BeautifulSoup(self._fetchUrl("http://"+self.getSiteDomain()+ur['href']),
|
||||
selfClosingTags=('br','hr')) # otherwise soup eats the br/hr tags.
|
||||
|
||||
div1 = soup.find('div', {'id' : 'story'})
|
||||
div1 = soup.find('article', {'id' : 'story'})
|
||||
|
||||
# Find the "Continues" marker on the current page and remove everything after that.
|
||||
continues = div.find('span', {'class' : 'conTag'})
|
||||
|
|
|
|||
Loading…
Reference in a new issue