|
|
@ -135,8 +135,14 @@ class Subf2mProvider(Provider):
|
|
|
|
video_types = (Episode, Movie)
|
|
|
|
video_types = (Episode, Movie)
|
|
|
|
subtitle_class = Subf2mSubtitle
|
|
|
|
subtitle_class = Subf2mSubtitle
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def __init__(self, verify_ssl=True):
|
|
|
|
|
|
|
|
super().__init__()
|
|
|
|
|
|
|
|
self._verify_ssl = verify_ssl
|
|
|
|
|
|
|
|
|
|
|
|
def initialize(self):
|
|
|
|
def initialize(self):
|
|
|
|
self._session = Session()
|
|
|
|
self._session = Session()
|
|
|
|
|
|
|
|
self._session.verify = self._verify_ssl
|
|
|
|
|
|
|
|
|
|
|
|
self._session.headers.update({"user-agent": "Bazarr"})
|
|
|
|
self._session.headers.update({"user-agent": "Bazarr"})
|
|
|
|
|
|
|
|
|
|
|
|
def terminate(self):
|
|
|
|
def terminate(self):
|
|
|
|