mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-21 00:06:41 +01:00
Remove reviews count from wraithbait.com, no longer displayed.
This commit is contained in:
parent
c7bbb765b2
commit
b5a04b0f97
3 changed files with 10 additions and 7 deletions
|
|
@ -2346,8 +2346,9 @@ extracharacters:Wolverine,Rogue
|
|||
## Site dedicated to these categories/characters/ships
|
||||
extracategories:Stargate: Atlantis
|
||||
|
||||
extra_valid_entries:reviews
|
||||
reviews_label:Reviews
|
||||
##site stopped showing reviews ~ Oct 2016
|
||||
#extra_valid_entries:reviews
|
||||
#reviews_label:Reviews
|
||||
|
||||
[buffygiles.velocitygrass.com]
|
||||
## Some sites do not require a login, but do require the user to
|
||||
|
|
|
|||
|
|
@ -125,9 +125,10 @@ class WraithBaitComAdapter(BaseSiteAdapter):
|
|||
rating=pt.text.split('[')[1].split(']')[0]
|
||||
self.story.setMetadata('rating', rating)
|
||||
|
||||
st = soup.find('div', {'class' : 'storytitle'})
|
||||
a = st.findAll('a', href=re.compile(r'reviews.php\?type=ST&item='+self.story.getMetadata('storyId')+"$"))[1] # second one.
|
||||
self.story.setMetadata('reviews',stripHTML(a))
|
||||
# site stopped showing reviews ~ Oct 2016
|
||||
# st = soup.find('div', {'class' : 'storytitle'})
|
||||
# a = st.findAll('a', href=re.compile(r'reviews.php\?type=ST&item='+self.story.getMetadata('storyId')+"$"))[1] # second one.
|
||||
# self.story.setMetadata('reviews',stripHTML(a))
|
||||
|
||||
# Find the chapters:
|
||||
for chapter in soup.findAll('a', href=re.compile(r'viewstory.php\?sid='+self.story.getMetadata('storyId')+"&chapter=\d+$")):
|
||||
|
|
|
|||
|
|
@ -2359,8 +2359,9 @@ extracharacters:Wolverine,Rogue
|
|||
## Site dedicated to these categories/characters/ships
|
||||
extracategories:Stargate: Atlantis
|
||||
|
||||
extra_valid_entries:reviews
|
||||
reviews_label:Reviews
|
||||
##site stopped showing reviews ~ Oct 2016
|
||||
#extra_valid_entries:reviews
|
||||
#reviews_label:Reviews
|
||||
|
||||
[buffygiles.velocitygrass.com]
|
||||
## Some sites do not require a login, but do require the user to
|
||||
|
|
|
|||
Loading…
Reference in a new issue