Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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}
1 change: 1 addition & 0 deletions helpers.dat
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down