This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { cmd } = require('../command'); | |
| const axios = require('axios'); | |
| const Config = require('../config'); | |
| const fs = require('fs'); | |
| const os = require('os'); | |
| const path = require('path'); | |
| const { pipeline } = require('stream'); | |
| const util = require('util'); | |
| const streamPipeline = util.promisify(pipeline); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { cmd } = require('../command'); | |
| const axios = require('axios'); | |
| const Config = require('../config'); | |
| // Optimized axios instance | |
| const axiosInstance = axios.create({ | |
| timeout: 30000, | |
| maxRedirects: 10, | |
| headers: { | |
| 'User-Agent': 'Mozilla/5.0 (Linux; Android 10; SM-G975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Mobile Safari/537.36', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { cmd } = require('../command'); | |
| const axios = require('axios'); | |
| const Config = require('../config'); | |
| // Optimized axios instance | |
| const axiosInstance = axios.create({ | |
| timeout: 30000, | |
| maxRedirects: 10, | |
| headers: { | |
| 'User-Agent': 'Mozilla/5.0 (Linux; Android 10; SM-G975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Mobile Safari/537.36', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { cmd } = require('../command'); | |
| const axios = require('axios'); | |
| const Config = require('../config'); | |
| // Optimized axios instance | |
| const axiosInstance = axios.create({ | |
| timeout: 30000, | |
| maxRedirects: 10, | |
| headers: { | |
| 'User-Agent': 'Mozilla/5.0 (Linux; Android 10; SM-G975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Mobile Safari/537.36', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { cmd } = require('../command'); | |
| const axios = require('axios'); | |
| const Config = require('../config'); | |
| // Optimized axios instance | |
| const axiosInstance = axios.create({ | |
| timeout: 30000, | |
| maxRedirects: 10, | |
| headers: { | |
| 'User-Agent': 'Mozilla/5.0 (Linux; Android 10; SM-G975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Mobile Safari/537.36', |