getTV.py 文件源码

python
阅读 31 收藏 0 点赞 0 评论 0

项目:getTV 作者: mattsta 项目源码 文件源码
def __init__(self, config):
        self.dbFilename = "downloads.db"
        self.showsFilename = "SHOWS"
        self.sourceIP = ""
        self.transmissionHostRemote = ""
        self.userpass = ""
        self.downloadQuality = [720, 1080]
        self.speakDownload = True

        # We don't retain 'proxs' or 'requestsFromSource' in this
        # instance since they get stored/retained inside TorrentApiController
        proxs = {}
        requestsFromSource = requests.Session()

        self.establishConfiguration(config, requestsFromSource, proxs)
        self.torrentController = TorrentApiController(requestsFromSource, proxs)

        self.establishDatabase()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号