1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-30 23:24:16 +01:00

Fixed TV4Play geoblock error text

Fixes: #308
This commit is contained in:
Björn Dahlgren 2015-11-23 00:01:53 +01:00 committed by Olof Johansson
parent 50eba055a5
commit 4d972063d2

View File

@ -48,7 +48,7 @@ class Tv4play(Service, OpenGraphThumbMixin):
if code == "SESSION_NOT_AUTHENTICATED": if code == "SESSION_NOT_AUTHENTICATED":
yield ServiceError("Can't access premium content") yield ServiceError("Can't access premium content")
elif code == "ASSET_PLAYBACK_INVALID_GEO_LOCATION": elif code == "ASSET_PLAYBACK_INVALID_GEO_LOCATION":
yield ServiceError("Can't downoad this video because of geoblocked.") yield ServiceError("Can't download this video because of geoblock.")
else: else:
yield ServiceError("Can't find any info for that video") yield ServiceError("Can't find any info for that video")
return return