Additional sort options

['rtomatoes', 'metacritics', 'myanimelist'] added to the sort_names
pull/847/head
Linas 3 years ago committed by meisnate12
parent 92912c9d89
commit fd190f6a9a

@ -7,7 +7,7 @@ from urllib.parse import urlparse
logger = util.logger
builders = ["mdblist_list"]
sort_names = ["score", "released", "imdbrating", "imdbvotes", "imdbpopular", "tmdbpopular", "rogerebert", "budget", "revenue", "added"]
sort_names = ["score", "released", "imdbrating", "imdbvotes", "imdbpopular", "tmdbpopular", "rogerebert", "rtomatoes", "metacritics", "myanimelist", "budget", "revenue", "added"]
list_sorts = [f"{s}.asc" for s in sort_names] + [f"{s}.desc" for s in sort_names]
base_url = "https://mdblist.com/lists"
api_url = "https://mdblist.com/api/"

Loading…
Cancel
Save