forked from rDrama/rDrama
fsd
parent
17c71a2b54
commit
50fa029e47
|
@ -19,13 +19,14 @@ for k, val in result.items():
|
||||||
|
|
||||||
del result
|
del result
|
||||||
|
|
||||||
topmakers = {}
|
if SITE == 'rdrama.net':
|
||||||
for k, val in marseys.items():
|
topmakers = {}
|
||||||
|
for k, val in marseys.items():
|
||||||
if val in topmakers: topmakers[val] += 1
|
if val in topmakers: topmakers[val] += 1
|
||||||
else: topmakers[val] = 1
|
else: topmakers[val] = 1
|
||||||
|
|
||||||
topmakers.pop('unknown')
|
topmakers.pop('unknown')
|
||||||
topmakers = sorted(topmakers.items(), key=lambda x: x[1], reverse=True)[:25]
|
topmakers = sorted(topmakers.items(), key=lambda x: x[1], reverse=True)[:25]
|
||||||
|
|
||||||
AJ_REPLACEMENTS = {
|
AJ_REPLACEMENTS = {
|
||||||
' your ': " you're ",
|
' your ': " you're ",
|
||||||
|
|
Loading…
Reference in New Issue