AnthonyBloomer / ezflix

Command line utility that enables users to search for TV and movie torrents and stream using Peerflix automatically.
https://anthonybloomer.github.io/ezflix/
MIT License
47 stars 8 forks source link

Sorting by seeds #13

Closed AnthonyBloomer closed 6 years ago

AnthonyBloomer commented 6 years ago

Running ezflix movie 'Mad Max' --sort_by=seeds --sort_order=desc returns a list of torrents not in the correct numerical order.

+----+-------------------------------------------+-------+-------+
| Id | Torrent                                   | Seeds | Peers |
+----+-------------------------------------------+-------+-------+
| 1  | Mad Max Beyond Thunderdome (1985) (720p)  | 15    | 5     |
| 2  | Mad Max Beyond Thunderdome (1985) (1080p) | 22    | 8     |
| 3  | Mad Max: Fury Road (2015) (3D)            | 66    | 13    |
| 4  | Mad Max: Fury Road (2015) (720p)          | 378   | 44    |
| 5  | Mad Max: Fury Road (2015) (1080p)         | 958   | 100   |
| 6  | Mad Max (1979) (720p)                     | 38    | 13    |
| 7  | Mad Max (1979) (1080p)                    | 97    | 12    |
+----+-------------------------------------------+-------+-------+