mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-02 03:48:40 +02:00
adapter_storiesonlinenet: Remove ''s Page' to '.s Page'
This commit is contained in:
parent
656e67cc57
commit
182695b0af
1 changed files with 2 additions and 1 deletions
|
|
@ -219,7 +219,8 @@ class StoriesOnlineNetAdapter(BaseSiteAdapter):
|
|||
for a in alist:
|
||||
self.story.addToList('authorId',a['href'].split('/')[2])
|
||||
self.story.addToList('authorUrl','https://'+self.host+a['href'])
|
||||
self.story.addToList('author',stripHTML(a).replace("'s Page",""))
|
||||
## both 's Page and ’s Page
|
||||
self.story.addToList('author',re.sub(r".s Page$","",stripHTML(a)))
|
||||
|
||||
# The rest of the metadata is within the article tag.
|
||||
soup = soup.find('article')
|
||||
|
|
|
|||
Loading…
Reference in a new issue