Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Toperlock authored Nov 7, 2023
1 parent 289eabe commit 0f2f537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def get_nodes(url):
if url.startswith('sub://'):
url = tool.b64Decode(url[6:]).decode('utf-8')
urlstr = urlparse(url)
if '://' not in url:
if '://' not in url and url.startswith('http'):
try:
content = tool.b64Decode(url).decode('utf-8')
data = parse_content(content)
Expand Down

0 comments on commit 0f2f537

Please sign in to comment.