vankasteelj / opensubtitles-api

nodejs opensubtitles.org api wrapper for downloading and uploading subtitles in multiple langs
110 stars 33 forks source link

Tag Matches Increase by # of tags not by matching tags #23

Closed codebykenny closed 7 years ago

codebykenny commented 7 years ago

There is a small error when calculating matching tags.

This leads to subfile names having a higher score when they have a higher number of tags, not just matching tags.

I have fixed this error in a PR and the results are better matching subtitles