17
Follow
35
Followers
وائرس بے رحمانہ ہے، انسانوں میں محبت ہے۔
ایف ایم زیڈ ہمیشہ سے جذباتی رہا ہے۔
اس کے علاوہ ، میں نے اپنے دوستوں کو بتایا ہے کہ میں نے اس وبا کے بارے میں کچھ معلومات حاصل کی ہیں ، لیکن میں نے ان کے بارے میں نہیں بتایا۔HttpQueryاس کے علاوہ، ہم نے انڈے کے بارے میں بھی معلومات حاصل کی ہیں، اور ہم نے انڈے کے بارے میں بھی معلومات حاصل کی ہیں، اور ہم نے انڈے کے بارے میں بھی معلومات حاصل کی ہیں۔
یہ درجہ حرارت ہے۔
یہ کوڈ درست اظہار فلٹرنگ کو لاگو کرنے میں ناکام رہا ہے، اور یہ صرف ایک نیم تیار شدہ کوڈ ہے۔
var url = 'https://3g.dxy.cn/newh5/view/pneumonia'
var newsRegex = "/<script id=\"getTimelineService\">.+?window.getTimelineService\s=\s({.+?)}catch\(e\){}<\/script>/im"
var provinceRegex = "/<script id=\"getListByCountryTypeService1\">.+?window.getListByCountryTypeService1\s=\s(\[.+?])}catch\(e\){}<\/script>/im"
///////////////////////////////////////////
function get_dxy_data() {
var ret = HttpQuery(url)
return ret
}
function get_nCoV_news(content ) {
var news = content.match(newsRegex)
Log(news)
}
function get_nCoV_province(content) {
var ret = HttpQuery(url)
var province = ret.search(provinceRegex)
Log(province)
}
function main() {
while(true) {
Sleep(10 * 1000)
var content = get_dxy_data()
if(content === null) {
continue
}
get_nCoV_news(content)
get_nCoV_province(content)
}
}
Related Recommendations
Advanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization


