diff --git a/example.conf b/example.conf index 981e0be..3f374c4 100644 --- a/example.conf +++ b/example.conf @@ -134,3 +134,15 @@ LOGGING = False # Where you want logs to go (leave empty to put in leechr dir) LOGDIR = "" + +### Advanced Settings ### + +# Add more groups to the list of allowed groups +ALLOWED_GROUPS = ALLOWED_GROUPS + ["alt.binaries.boneless", "alt.binaries.etc"] + +# Modify the list of used search engines +#SEARCH_MODULES = ["LOCALNEWZNAB", "NZBCC", "NZBCLUBCOM", "NZBXCO", "NEWSHOSTCOZA", "SICKBEARDCOM", "NZBSORG", "NZBNDXCOM"]#, "NZBINDEXNL", "BINSEARCHINFO"] # In order of preference + +# This map allows to modify the ranking of results. +# Standard rank is 0 and 720p will be ranked internally with +100 +#SCORE = {"aac2.0":-50} diff --git a/helpers.dat b/helpers.dat index 7c1e6ba..80982c3 100644 --- a/helpers.dat +++ b/helpers.dat @@ -63,6 +63,7 @@ u'60 Minutes (US)':['60 Minutes'], u"Archer (2009)":["Archer"], u"The Beast (2009)":["The Beast"], u"The Colony (US)":["The Colony"], +u"Cosmos: A Space-Time Odyssey":["Cosmos A Space Time Odyssey"], u"CSI: Crime Scene Investigation":["CSI"], u"CSI: NY":["CSI NY", "CSI New York"], u"Dragon's Den (UK)":["Dragons Den"], diff --git a/main.py b/main.py index c1dc963..6665090 100644 --- a/main.py +++ b/main.py @@ -730,6 +730,9 @@ def create_score(line): if "web-dl" in line: score += 20 if "hdtv" in line: score += 10 if "efnet" in line: score += 1 # efnet group posts are generally good + for key, value in SCORE.iteritems(): + if key in line: + score += value return score