Change a few outliers to use status: Completed instead of Complete.

This commit is contained in:
Jim Miller 2017-04-05 15:15:34 -05:00
parent e8043dd9a1
commit 76b1ab3dac
6 changed files with 6 additions and 6 deletions

View file

@ -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'})

View file

@ -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)

View file

@ -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)

View file

@ -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

View file

@ -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

View file

@ -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'):