pull/785/head
Louis Vézina 5 years ago
parent 2c74e382a8
commit c16ba5e17a

@ -84,7 +84,7 @@ class Subs4FreeProvider(Provider):
def initialize(self):
self.session = Session()
self.session.headers['User-Agent'] = 'Subliminal/{}'.format(__short_version__)
self.session.headers['User-Agent'] = os.environ.get("SZ_USER_AGENT", "Sub-Zero/2")
def terminate(self):
self.session.close()

Loading…
Cancel
Save