* update reviews

This commit is contained in:
Reinhard Pointner 2013-02-07 12:31:57 +00:00
parent 4cb918af32
commit 29fd71cfe6
3 changed files with 8 additions and 1 deletions

View File

@ -146,7 +146,7 @@ println "Series Count: " + names.size()
def reviewPage = retry(10, 1000){ Jsoup.connect('https://sourceforge.net/projects/filebot/reviews/?sort=usefulness&filter=thumbs_up').get() }
def reviews = reviewPage.select('article[itemtype~=Review]').findResults{ article ->
article.select('*[itemprop=reviewBody]').findAll{ !(it.attr('class') =~ /spam/) }.findResults{ review ->
[user:article.select('*[itemprop=name]').text(), date:article.select('*[datetime]').text(), text:review.text()]
[user:article.select('*[itemprop=name]').text() ?: 'OpenID User', date:article.select('*[datetime]').text(), text:review.text()]
}
}.flatten()

View File

@ -119,6 +119,7 @@ GER
German
Hard.Subbed
HBO
hd
HDRip
Hindi
History.Channel
@ -166,6 +167,7 @@ RiffTrax
sample[s]?
SBS
Screenshot
sd
sed
ShareGo
ShareReactor

View File

@ -89,6 +89,11 @@
"date": "2011-02-18",
"text": "best app on series renaming i could find"
},
{
"user": "OpenID User",
"date": "1 day ago",
"text": "Incredible software. Does everything I'd want it to do for now. Can't wait to get a media centre built (once I can get a job) and use it to its full potential with the Automated script. Will be donating (again once I get a job). Worth it for the hours of manual time its saved. Support for music videos possibly to make it the ultra complete package for Media centres?"
},
{
"user": "charmainebellora",
"date": "2013-01-23",