示例#1
0
 def getTrendingShowImage(indexerId):
     image_url = sickchill.indexer.series_poster_url_by_id(indexerId)
     if image_url:
         image_path = trakt_trending.get_image_path(
             trakt_trending.get_image_name(indexerId))
         trakt_trending.cache_image(image_url, image_path)
         return indexerId
示例#2
0
 def getTrendingShowImage(indexerId):
     image_url = trakt_trending.get_image_url(indexerId)
     if image_url:
         image_path = trakt_trending.get_image_path(
             trakt_trending.get_image_name(indexerId))
         trakt_trending.cache_image(image_url, image_path)
         return indexerId