bazarr/libs/subliminal_patch/providers/shooter.py

17 lines
497 B
Python
Raw Normal View History

2018-10-31 16:08:29 +00:00
# coding=utf-8
2019-09-17 02:04:27 +00:00
from __future__ import absolute_import
2018-10-31 16:08:29 +00:00
from subliminal.providers.shooter import ShooterProvider as _ShooterProvider, ShooterSubtitle as _ShooterSubtitle
class ShooterSubtitle(_ShooterSubtitle):
def __init__(self, language, hash, download_link):
super(ShooterSubtitle, self).__init__(language, hash, download_link)
self.release_info = hash
self.page_link = download_link
class ShooterProvider(_ShooterProvider):
subtitle_class = ShooterSubtitle