def __init__(self, provider_obj): TVCache.__init__(self, provider_obj) # only poll newznab providers every 30 minutes self.minTime = 30 self.last_search = datetime.datetime.now()
def __init__(self, provider_obj): TVCache.__init__(self, provider_obj, min_time=30) # only poll Binsearch every 30 minutes max # compile and save our regular expressions # this pulls the title from the URL in the description self.descTitleStart = re.compile(r'^.*https?://www\.binsearch\.info/.b=') self.descTitleEnd = re.compile('&.*$') # these clean up the horrible mess of a title if the above fail self.titleCleaners = [ re.compile(r'.?yEnc.?\(\d+/\d+\)$'), re.compile(r' \[\d+/\d+\] '), ]
def __init__(self, provider_obj): TVCache.__init__(self, provider_obj) self.minTime = 15
def __init__(self, provider_obj): TVCache.__init__(self, provider_obj) self.minTime = 20