你好!
本站数据每3秒更新一次。使用正常方法,您将一直在下载而不下载数据。
Python 编写这样的代码来终止数据下载。
如何将此 Python 更改为 JSL?

这个地址在数据包之后被捕获。
http://16.push2.eastmoney.com/api/qt/stock/details/sse?fields1=f1,f2,f3,f4&fields2=f51,f52,f53,f54,f55&mpi=2000&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&pos=-0&secid=1.688686
http://16.push2.eastmoney.com/api/qt/stock/details/sse?fields1=f1,f2,f3,f4&fields2=f51,f52,f53,f54,f55&mpi=2000&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&pos=-0&secid =1.688686
代码将保持下载状态,直到崩溃。
u =
"http://16.push2.eastmoney.com/api/qt/stock/details/sse?fields1=f1,f2,f3,f4&fields2=f51,f52,f53,f54,f55&mpi=2000&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&pos=-0&secid=1.688686";
txt = Load Text File( u );
a = Length( txt );
P = "[{";
off1 = Contains( txt, P );
If( off1,
tx = Substr( txt, off1, Length( txt ) )
);
Q = "}]";
off2 = Contains( tx, Q, -1 );
If( off2,
tx = Substr( tx, 1, off2 + 1 )
);
b = Right( tx, 2 );
d1 = JSON To Data Table( tx );