Commit 945b4477 authored by Michael Rose's avatar Michael Rose

rating: remove Fiction prefix if present

parent f10e4900
...@@ -41,7 +41,7 @@ module Scryer ...@@ -41,7 +41,7 @@ module Scryer
m.follows = self.parse_num(part) m.follows = self.parse_num(part)
true true
when part.match(/Rated: /) when part.match(/Rated: /)
m.rated = part.split(': ')[1].gsub('+', 'PLUS') m.rated = part.split(': ')[1].gsub('+', 'PLUS').gsub('Fiction ', '')
true true
when part.match(/Reviews: /) when part.match(/Reviews: /)
m.reviews = self.parse_num(part) m.reviews = self.parse_num(part)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment