mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-11 11:52:07 +08:00
Split info line in ffnet by ' - ' instead of just '-' so Sci-Fi doesn't become just 'Sci'. fpcom already does.
This commit is contained in:
@@ -195,7 +195,7 @@ class FFNet(FanfictionSiteAdapter):
|
||||
self.storyRating = unicode(s2.a.string).strip()
|
||||
logging.debug('self.storyRating=%s' % self.storyRating)
|
||||
logging.debug('s2.a=%s' % s2.a)
|
||||
s3 = l.split('-')
|
||||
s3 = l.split(' - ')
|
||||
logging.debug('s3=%s' % s3)
|
||||
if len(s3) > 0:
|
||||
if s3[1].find("Reviews: <a href=") != -1:
|
||||
|
||||
Reference in New Issue
Block a user