Esempio n. 1
0
 def __init__(self, plugin, core):
     AbstractScraper.__init__(self, plugin, core)
     self.api_url = 'http://www.omdbapi.com/?t=%s&plot=short&r=json&type=game'
     self.cover_cache = self._set_up_path(
         os.path.join(self.base_path, 'art/poster/'))
     self.api_cache = self._set_up_path(
         os.path.join(self.base_path, 'api_cache/'))
Esempio n. 2
0
 def __init__(self):
     AbstractScraper.__init__(self)
     self.plugin = RequiredFeature('plugin').request()
     self.api_url = 'https://www.igdb.com/api/v1/games/%s'
     self.api_img_url = 'https://res.cloudinary.com/igdb/image/upload/t_%s/%s.jpg'
     self.cover_cache = self._set_up_path(os.path.join(self.base_path, 'art/poster/'))
     self.api_cache = self._set_up_path(os.path.join(self.base_path, 'api_cache/'))
Esempio n. 3
0
 def __init__(self):
     AbstractScraper.__init__(self)
     self.plugin = RequiredFeature('plugin').request()
     self.core = RequiredFeature('core').request()
     self.api_url = 'http://thegamesdb.net/api/GetGame.php?name=%s'
     self.cover_cache = self._set_up_path(os.path.join(self.base_path, 'art/poster/'))
     self.fanart_cache = self._set_up_path(os.path.join(self.base_path, 'art/fanart/'))
     self.api_cache = os.path.join(self.base_path, 'api_cache/')
Esempio n. 4
0
 def __init__(self, plugin, core):
     AbstractScraper.__init__(self, plugin, core)
     self.api_url = 'http://thegamesdb.net/api/GetGame.php?name=%s'
     self.cover_cache = self._set_up_path(
         os.path.join(self.base_path, 'art/poster/'))
     self.fanart_cache = self._set_up_path(
         os.path.join(self.base_path, 'art/fanart/'))
     self.api_cache = os.path.join(self.base_path, 'api_cache/')
Esempio n. 5
0
 def __init__(self):
     AbstractScraper.__init__(self)
     self.plugin = RequiredFeature('plugin').request()
     self.api_url = 'http://www.omdbapi.com/?t=%s&plot=short&r=json&type=game'
     self.cover_cache = self._set_up_path(
         os.path.join(self.base_path, 'art/poster/'))
     self.api_cache = self._set_up_path(
         os.path.join(self.base_path, 'api_cache/'))
Esempio n. 6
0
 def __init__(self):
     AbstractScraper.__init__(self)
     self.plugin = RequiredFeature('plugin').request()
     self.api_url = 'https://www.igdb.com/api/v1/games/%s'
     self.api_img_url = 'https://res.cloudinary.com/igdb/image/upload/t_%s/%s.jpg'
     self.cover_cache = self._set_up_path(
         os.path.join(self.base_path, 'art/poster/'))
     self.api_cache = self._set_up_path(
         os.path.join(self.base_path, 'api_cache/'))
Esempio n. 7
0
 def __init__(self, plugin, core):
     requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
     AbstractScraper.__init__(self, plugin, core)
     #self.api_url = 'https://thegamesdb.net/api/GetGame.php?name=%s'
     self.api_url = 'https://thegamesdb.net/search.php?platform_id[]=1&name='
     self.cover_cache = self._set_up_path(
         os.path.join(self.base_path, 'art/poster/'))
     self.fanart_cache = self._set_up_path(
         os.path.join(self.base_path, 'art/fanart/'))
     self.api_cache = os.path.join(self.base_path, 'api_cache/')
Esempio n. 8
0
 def __init__(self):
     AbstractScraper.__init__(self)
     self.plugin = RequiredFeature('plugin').request()
     self.api_url = 'http://www.omdbapi.com/?t=%s&plot=short&r=json&type=game'
     self.cover_cache = self._set_up_path(os.path.join(self.base_path, 'art/poster/'))
     self.api_cache = self._set_up_path(os.path.join(self.base_path, 'api_cache/'))
Esempio n. 9
0
 def __init__(self, plugin, core):
     AbstractScraper.__init__(self, plugin, core)
     self.api_url = 'http://thegamesdb.net/api/GetGame.php?name=%s'
     self.cover_cache = self._set_up_path(os.path.join(self.base_path, 'art/poster/'))
     self.fanart_cache = self._set_up_path(os.path.join(self.base_path, 'art/fanart/'))
     self.api_cache = os.path.join(self.base_path, 'api_cache/')
Esempio n. 10
0
 def __init__(self, plugin, core):
     AbstractScraper.__init__(self, plugin, core)
     self.api_url = 'http://www.omdbapi.com/?t=%s&plot=short&r=json&type=game'
     self.cover_cache = self._set_up_path(os.path.join(self.base_path, 'art/poster/'))
     self.api_cache = self._set_up_path(os.path.join(self.base_path, 'api_cache/'))