Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
fix err
Browse files Browse the repository at this point in the history
  • Loading branch information
Toperlock committed Mar 12, 2024
1 parent 1fc3b13 commit 5d9bfda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,9 @@ def get_content_from_url(url, n=6):
except:
pass
elif 'outbounds' in response_text:
response_text = re.sub(r'//.*', '', response_text)
try:
response_text = json.loads(response.text)
response_text = json.loads(response_text)
return response_text
except:
pass
Expand Down

0 comments on commit 5d9bfda

Please sign in to comment.