2013-01-26, 16:47
(2013-01-26, 06:01)Newsleecher Wrote: Hey man,
In the newznab plugin can you add a setting for rating so we can define the regex? Ratings end up missing in some of my sites.
one of my sites has the meta info like this:
<b>Year:</b> 2002<br /> <b>Rating:</b> 5.6<br /> <b>Genre:</b> Comedy<br />
So I can adjust year and genre but I end up with no ratings because your plugin scans only the newznab attributes for the ratings Maybe you could assign an order. First try regex defined by the user and if nothing found then you look at the newznab attribute stuff?
Thanks
Well, I was thinking about skipping the whole parsing stuff and follow the proper API. The info is in the attributes and the parsing is fragile. If the site is missing the rating attribute, cant you ask them to fix it?