コード例 #1
0
ファイル: __init__.py プロジェクト: bigbart/SiCKRAGE-1
    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()
コード例 #2
0
ファイル: __init__.py プロジェクト: afctim/SiCKRAGE
    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()
コード例 #3
0
    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+\] '),
        ]
コード例 #4
0
ファイル: binsearch.py プロジェクト: SiCKRAGETV/SiCKRAGE
    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+\] '),
        ]
コード例 #5
0
ファイル: __init__.py プロジェクト: bigbart/SiCKRAGE-1
 def __init__(self, provider_obj):
     TVCache.__init__(self, provider_obj)
     self.minTime = 15
コード例 #6
0
ファイル: omgwtfnzbs.py プロジェクト: afctim/SiCKRAGE
 def __init__(self, provider_obj):
     TVCache.__init__(self, provider_obj)
     self.minTime = 20