mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-27 03:06:45 +01:00
Fix for storiesonline universe parsing (from davidfor).
This commit is contained in:
parent
4490edfa36
commit
86a134f883
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ class StoriesOnlineNetAdapter(BaseSiteAdapter):
|
|||
logger.debug("Retrieving Universe - have page")
|
||||
if universe_soup:
|
||||
logger.debug("Retrieving Universe - looking for name")
|
||||
universe_name = universe_soup.find('h1', {'id' : 'ptitle'}).text.partition(' —')[0]
|
||||
universe_name = universe_soup.find('h1', {'id' : 'ptitle'}).text.partition('—')[0]
|
||||
logger.debug("Universes name: '{0}'".format(universe_name))
|
||||
|
||||
self.story.setMetadata('universeUrl',universeUrl)
|
||||
|
|
|
|||
Loading…
Reference in a new issue