idlesign / torrt

Automates torrent updates for you
https://github.com/idlesign/torrt
BSD 3-Clause "New" or "Revised" License
112 stars 19 forks source link

Compare string ranges as numbers #49

Closed alexlitvinenko closed 4 years ago

alexlitvinenko commented 4 years ago

Anilibria has a habit to publish release with highest quality first and forget about lower quality. And when series number has more digits than the other one then we pick incorrect torrent. See example: 1-9 [WEBRip 1080p HEVC] - incorrect pick 1-10 [WEBRip 1080p] - correct pick

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 86


Files with Coverage Reduction New Missed Lines %
torrt/utils.py 2 79.9%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 84: -0.04%
Covered Lines: 740
Relevant Lines: 1434

💛 - Coveralls
idlesign commented 4 years ago

Thank you. Merged.

idlesign commented 4 years ago

Next release will drop py2 support.