const request = require('request');
const zlib = require('zlib');
const concat = require('concat-stream');
const check_place_list = () => {
return new Promise(async (resolve, reject) => {
request("https://tcgbusfs.blob.core.windows.net/blobtcmsv/TCMSV_allavailable.gz")
.pipe(zlib.createGunzip())
.pipe(concat((stringBuffer: any) => {
// console.log(stringBuffer.toString());
}));
})
}
沒有留言:
張貼留言