mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 13:44:14 +01:00
Fixes better language on error message when there's no video file found.
This commit is contained in:
parent
cf5b774d8e
commit
7dc0b3bb6e
@ -93,7 +93,7 @@ class Svtplay(Service, MetadataThumbMixin):
|
|||||||
yield ServiceError(f"Can't decode api request: {res.request.url}")
|
yield ServiceError(f"Can't decode api request: {res.request.url}")
|
||||||
return
|
return
|
||||||
if res.status_code >= 400:
|
if res.status_code >= 400:
|
||||||
yield ServiceError("Can't find any videos. its removed?")
|
yield ServiceError("Can't find any videos. Is it removed?")
|
||||||
return
|
return
|
||||||
videos = self._get_video(janson)
|
videos = self._get_video(janson)
|
||||||
yield from videos
|
yield from videos
|
||||||
|
Loading…
Reference in New Issue
Block a user