mirror of
https://github.com/doms9/iptv.git
synced 2026-04-21 19:46:59 +02:00
e
- add listapreta.py
This commit is contained in:
parent
f9821b6ad5
commit
00000d9288
3 changed files with 187 additions and 1 deletions
|
|
@ -57,7 +57,8 @@ class Network:
|
|||
try:
|
||||
r = await self.client.get(url, **kwargs)
|
||||
|
||||
r.raise_for_status()
|
||||
if r.status_code >= 400:
|
||||
r.raise_for_status()
|
||||
|
||||
return r
|
||||
except (httpx.HTTPError, httpx.TimeoutException) as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue