Skip to content

Commit

Permalink
remove puppeteer and cors
Browse files Browse the repository at this point in the history
  • Loading branch information
Lifailon committed Oct 5, 2024
1 parent 1f23936 commit a953020
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ const argv = yargs(hideBin(process.argv))
.argv

// Использовать Puppeteer для получения списка файлов
// const puppeteer = require('puppeteer')
// const RuTrackerPuppeteer = false
// const RuTorPuppeteer = false
// const puppeteer = require('puppeteer')
const RuTrackerPuppeteer = false
const RuTorPuppeteer = false

// Создание экземпляра Axios с использованием конфигурации Proxy
const createAxiosProxy = () => {
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@
"dependencies": {
"axios": "^0.21.1",
"cheerio": "^1.0.0-rc.3",
"cors": "^2.8.5",
"express": "^4.17.1",
"https-proxy-agent": "^7.0.5",
"iconv-lite": "^0.6.3",
"js-yaml": "^4.1.0",
"nodemon": "^2.0.4",
"puppeteer": "^22.6.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"xml2js": "^0.6.2",
Expand Down

0 comments on commit a953020

Please sign in to comment.