plugin.video.torrenter/cal.py

14 lines
495 B
Python
Raw Normal View History

2015-01-09 14:11:21 +03:00
# -*- coding: utf-8 -*-
import sys
2015-01-15 22:53:23 +03:00
import os, json
2015-01-09 14:11:21 +03:00
ROOT = os.path.dirname(sys.modules["__main__"].sys.argv[0])
searcherObject = {}
2015-01-31 23:28:30 +03:00
searcher = 'KickAssSo'
2015-01-09 14:11:21 +03:00
if ROOT + os.sep + 'resources' + os.sep + 'contenters' not in sys.path:
sys.path.insert(0, ROOT + os.sep + 'resources' + os.sep + 'contenters')
searcherObject[searcher] = getattr(__import__(searcher), searcher)()
2015-01-31 23:28:30 +03:00
print str(searcherObject[searcher].get_info('http://kickass.so/greys-anatomy-s11e09-hdtv-x264-lol-ettv-t10144556.html'))
2015-01-15 22:53:23 +03:00