11 lines
215 B
Python
11 lines
215 B
Python
from couchpotato.core.providers.base import YarrProvider
|
|
import time
|
|
|
|
|
|
class NZBProvider(YarrProvider):
|
|
|
|
protocol = 'nzb'
|
|
|
|
def calculateAge(self, unix):
|
|
return int(time.time() - unix) / 24 / 60 / 60
|