mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-17 13:07:17 +02:00
Update ppi.py
This commit is contained in:
parent
4071186401
commit
9e3f312342
1 changed files with 1 additions and 1 deletions
2
ppi.py
2
ppi.py
|
|
@ -265,7 +265,7 @@ def stalnConn():
|
|||
#-----------------------------StatRanking--------------------------------
|
||||
def ranConn():
|
||||
try:
|
||||
conn = """curl -s https://1ml.com/node?order=capacity | html2text | xargs -L 1 | grep -E "CAP" -A 7 | grep -v -E "CAP" | tr -d '*|\--'"""
|
||||
conn = """curl -s 'https://1ml.com/node?order=capacity&json=true' | jq -C '.[]' | xargs -L 1 | tr -d '{|}' | grep -v -E "last_update|color|noderank" | sed 's/alias/Node/g'"""
|
||||
a = os.popen(conn).read()
|
||||
clear()
|
||||
blogo()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue