mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-04 15:15:01 +01:00
Merge branch 'master' of https://github.com/JimmXinu/FanFicFare
This commit is contained in:
commit
2c5335764e
3 changed files with 7 additions and 7 deletions
|
|
@ -2083,10 +2083,10 @@ readings_label:Readings
|
|||
|
||||
[wattpad.com]
|
||||
#is_adult:true
|
||||
extra_titlepage_entries: language,reads
|
||||
extra_titlepage_entries: language, reads
|
||||
extra_valid_entries: language, tags, reads
|
||||
reads_label:Read Count
|
||||
include_in_category: tags
|
||||
include_in_genre: tags
|
||||
|
||||
[writing.whimsicalwanderings.net]
|
||||
## Some sites do not require a login, but do require the user to
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ class WattpadComAdapter(BaseSiteAdapter):
|
|||
|
||||
self.chapterUrls = [(part['title'], part['url']) for part in storyInfo['parts']]
|
||||
self.story.setMetadata('numChapters', len(self.chapterUrls))
|
||||
self.setCoverImage(storyInfo['url'], storyInfo['cover'])
|
||||
self.setCoverImage(storyInfo['url'], storyInfo['cover'].replace('-256-','-512-'))
|
||||
self.story.setMetadata('language', storyInfo['language']['name'])
|
||||
|
||||
# CATEGORIES
|
||||
|
|
@ -125,8 +125,8 @@ class WattpadComAdapter(BaseSiteAdapter):
|
|||
storyCategories = [WattpadComAdapter.CATEGORY_DEFs.get(str(c)) for c in storyInfo['categories'] if
|
||||
WattpadComAdapter.CATEGORY_DEFs.has_key(str(c))]
|
||||
|
||||
tags = storyCategories + storyInfo['tags']
|
||||
self.story.setMetadata('tags', tags)
|
||||
self.story.setMetadata('category', storyCategories[0])
|
||||
self.story.setMetadata('tags', storyInfo['tags'])
|
||||
except:
|
||||
pass
|
||||
|
||||
|
|
|
|||
|
|
@ -2105,10 +2105,10 @@ readings_label:Readings
|
|||
|
||||
[wattpad.com]
|
||||
#is_adult:true
|
||||
extra_titlepage_entries: language,reads
|
||||
extra_titlepage_entries: language, reads
|
||||
extra_valid_entries: language, tags, reads
|
||||
reads_label:Read Count
|
||||
include_in_category: tags
|
||||
include_in_genre: tags
|
||||
|
||||
[writing.whimsicalwanderings.net]
|
||||
## Some sites do not require a login, but do require the user to
|
||||
|
|
|
|||
Loading…
Reference in a new issue