Skip to content

Commit

Permalink
Update endecrypt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
239144498 authored Sep 12, 2022
1 parent fca0a34 commit df64974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/common/endecrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get4gtvurl(fs4GTV_ID, fnID, hd):
else:
url = data3['a1'] + "?vid={}&nid={}&fid={}".format(fs4GTV_ID, fnID, fs4GTV_ID)
with request.get(url=url) as res:
if res.status_code != 200 or 310 - res.status_code > 10:
if res.status_code != 200 and 310 - res.status_code > 10:
res.encoding = "utf-8"
print(res.text)
link = res.url
Expand Down

0 comments on commit df64974

Please sign in to comment.