mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-12 02:22:56 +08:00
16 lines
458 B
Python
16 lines
458 B
Python
|
# coding=utf-8
|
||
|
|
||
|
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
|
||
|
|