mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-28 11:45:19 +01:00
Change a few outliers to use status: Completed instead of Complete.
This commit is contained in:
parent
e8043dd9a1
commit
76b1ab3dac
6 changed files with 6 additions and 6 deletions
|
|
@ -110,7 +110,7 @@ class FireFlyFansNetSiteAdapter(BaseSiteAdapter):
|
|||
# complete
|
||||
self.chapterUrls.append((self.story.getMetadata('title'), self.url))
|
||||
self.story.setMetadata('numChapters', 1)
|
||||
self.story.setMetadata('status', 'Complete')
|
||||
self.story.setMetadata('status', 'Completed')
|
||||
|
||||
## some stories do not have a summary listed, so I'm setting it here.
|
||||
summary = soup.find('span', {'id': 'MainContent_txtItemDescription'})
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ class FireflyPopulliOrgSiteAdapter(BaseSiteAdapter):
|
|||
|
||||
# Since this is a site with the entire story on one page and there are no updates, I'm going
|
||||
# to set the status to complete.
|
||||
self.story.setMetadata('status', 'Complete')
|
||||
self.story.setMetadata('status', 'Completed')
|
||||
|
||||
# use BeautifulSoup HTML parser to make everything easier to find.
|
||||
soup = self.make_soup(data)
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ class BFAArchiveShriftwebOrgSiteAdapter(BaseSiteAdapter):
|
|||
|
||||
# Since this is a site with the entire story on one page and there are no updates, I'm going
|
||||
# to set the status to complete.
|
||||
self.story.setMetadata('status', 'Complete')
|
||||
self.story.setMetadata('status', 'Completed')
|
||||
|
||||
# use BeautifulSoup HTML parser to make everything easier to find.
|
||||
soup = self.make_soup(data)
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ class TrekFanFictionNetSiteAdapter(BaseSiteAdapter):
|
|||
|
||||
## Since this site doesn't "update" the stories, I'm goig to set the status
|
||||
## to Complete
|
||||
self.story.setMetadata('status', "Complete")
|
||||
self.story.setMetadata('status', "Completed")
|
||||
|
||||
## Getting the number of words
|
||||
## I'm going to but using the entry-content that will be the same
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ class WWWLushStoriesComAdapter(BaseSiteAdapter): # XXX
|
|||
# The stories on this site are all on one page, so we use the original URL
|
||||
self.chapterUrls.append((self.story.getMetadata('title'),self.url))
|
||||
self.story.setMetadata('numChapters',len(self.chapterUrls))
|
||||
self.story.setMetadata('status', 'Complete')
|
||||
self.story.setMetadata('status', 'Completed')
|
||||
|
||||
#Need to get the metadata from the author's story page
|
||||
# The try/except is still needed, because some author pages are no longer on the site, but
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ class WWWUtopiastoriesComAdapter(BaseSiteAdapter):
|
|||
# the status to complete
|
||||
self.chapterUrls.append(('',url))
|
||||
self.story.setMetadata('numChapters',1)
|
||||
self.story.setMetadata('status', 'Complete')
|
||||
self.story.setMetadata('status', 'Completed')
|
||||
|
||||
|
||||
for detail in soup.findAll('li'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue