Giter VIP home page Giter VIP logo

buy_pig_plan's Introduction

三件事:

  1. 离线宝的服务下架了
  2. 商桥反灰产,防*扰的同学坐在我隔壁
  3. 我把仓库删了

buy_pig_plan's People

Contributors

aqiongbei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

buy_pig_plan's Issues

两个问题能请教下吗~

第一个问题,value of 'production' did not match any deployment config file names
第二个问题,debug模式下No node found for selector: .lxb-cb-input

运行不了 报错

/bomer/app.js:11
const {TASK_STATUS, ...util} = require('./utils/util');
^^^

SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.runMain (module.js:611:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:160:9)

npm ERR! Linux 3.10.0-1062.1.2.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v6.17.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: cross-env NODE_ENV=production node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'cross-env NODE_ENV=production node app.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the buy_pig_plan package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=production node app.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs buy_pig_plan
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls buy_pig_plan
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /bomer/npm-debug.log

无法运行production模式

你好,
我在使用你的代码时出现了问题,想麻烦你能抽空帮我解决一下。
当我在用production模式运行你的程序时,一直没反应,我不得不中止这个批处理:

D:\project\buy_pig_plan-master>npm start

[email protected] start D:\project\buy_pig_plan-master
cross-env NODE_ENV=production node app.js

WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
i got SIGINT
终止批处理操作吗(Y/N)? y

运行情况是以上这样的,我用debug模式运行就是正常的:

==================TASK TIMES: 1==================
TASK INFO: WEB NAME: 徐州市建筑工人医院 WEB TYPE: baidu_lxb
TASK RESULT: STATUS: failed MSG:[TIME OUT ERROR] TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded
USED TIME: 30.013 S
SLEEP TIME: 0 S
==================TASK TIMES: 2==================
TASK INFO: WEB NAME: 浙江费玺尔流体设备有限公司 WEB TYPE: baidu_lxb
TASK RESULT: STATUS: failed MSG:[TIME OUT ERROR] TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded
USED TIME: 30.004 S
SLEEP TIME: 0 S

只是网页一直都没响应而已(我估计这跟这些网页都不用了有关吧),因为我是nodejs 的萌新,请教一下大神,这个production模式下的问题应该怎么解决?

运行错误

WARNING: NODE_ENV value of 'default' is ambiguous.

WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode i got SIGINT

时间格式怎么设置

"attack": {
"times": 6,
"time": "0 2 * * * *", //这个不懂//
"web_type": "baidu_lxb",
"task_type": "call", // "comment"
"interval": 600000

添加了淘宝镜像源,运行还是报错求解,这种情况该怎么办呀

C:\Users\Administrator\Desktop\buy_pig_plan-master>npm install
audited 1172 packages in 4.679s
found 0 vulnerabilities

C:\Users\Administrator\Desktop\buy_pig_plan-master>npm run debug

[email protected] debug C:\Users\Administrator\Desktop\buy_pig_plan-master
cross-env NODE_ENV=debug node app.js

Config {
target:
{ phone: '18066820521',
name: 'adsf',
email: '[email protected]',
address: '西安',
comment: '阿斯蒂芬' },
attack:
{ times: 100,
time: '0 2 * * * *',
web_type: 'baidu_lxb',
task_type: 'call',
interval: 6000 },
chromium:
{ slowMo: 100, timeout: 30000, devtools: false, headless: false } }
Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
at Launcher.launch (C:\Users\Administrator\Desktop\buy_pig_plan-master\node
modules\puppeteer\lib\Launcher.js:119:15)
image

npm run dev error

hi
when i npm run dev
it shows error log is not defined
how to do this?
thank you.

找不到输入框

我仔细观察了一下你的代码,先在config里加一个production.json。然后根据node-cron设置一下时间间隔,接下来应该是用一些在百度打广告的地址进行回拨。然后问题就来了- -, 没有这个class。会不会是这个输入框是异步加载的?还是百度改代码了
TASK RESULT: STATUS: failed MSG:[TYPE ERROR] Error: No node found for selector: .lxb-cb-input

跑不起来

没接触过node 请问这种情况如何处理
`C:\Users\Liu\buy_pig_plan>npm start

[email protected] start C:\Users\Liu\buy_pig_plan
cross-env NODE_ENV=production node app.js

WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
internal/validators.js:125
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at validateString (internal/validators.js:125:11)
at Object.join (path.js:427:7)
at getFilename (C:\Users\Liu\buy_pig_plan\utils\util.js:28:35)
at Object.getURLList (C:\Users\Liu\buy_pig_plan\utils\util.js:20:20)
at Object. (C:\Users\Liu\buy_pig_plan\app.js:17:33)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: cross-env NODE_ENV=production node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`

没效果

我拿自己的不常用的手机测试了一下,怎么没效果

无法编译配置文件

C:\Users\XX\Desktop\buy_pig_plan-master\buy_pig_plan-master>npm start

[email protected] start C:\Users\XX\Desktop\buy_pig_plan-master\buy_pig_p
lan-master
cross-env NODE_ENV=production node app.js

WARNING: NODE_ENV value of 'production' did not match any deployment config file
names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
internal/validators.js:112
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Re
ceived type undefined
�[90m at validateString (internal/validators.js:112:11)�[39m
�[90m at Object.join (path.js:375:7)�[39m
at getFilename (C:\Users\XX\Desktop\buy_pig_plan-master\buy_pig_plan-mas
ter\utils\util.js:28:35)
at Object.getURLList (C:\Users\XX\Desktop\buy_pig_plan-master\buy_pig_pl
an-master\utils\util.js:20:20)
at Object. (C:\Users\XX\Desktop\buy_pig_plan-master\buy_pig_p
lan-master\app.js:17:33)
�[90m at Module._compile (internal/modules/cjs/loader.js:959:30)�[39m
�[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10
)�[39m
�[90m at Module.load (internal/modules/cjs/loader.js:815:32)�[39m
�[90m at Function.Module._load (internal/modules/cjs/loader.js:727:14)�[39m
�[90m at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)�[39
m {
code: �[32m'ERR_INVALID_ARG_TYPE'�[39m
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: cross-env NODE_ENV=production node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\XX\AppData\Roaming\npm-cache_logs\2019-12-26T03_00_02
_272Z-debug.log

留得青山在?

还以为某人可以做大做强,后来却被钱收买了 呵呵呵呵呵

请教一个问题

老哥好,
一个销售不停的加我微信, 我举报了他一下, 然后他被微信[短期封号]了,(我还手贱的把这个发到微信群里了,估计被他知道了),然后我就开始被短信轰炸了, 连续200多条注册验证码短信。 我想请教一下这个短信轰炸违法嘛, 去哪里举报啊, 警察叔叔说没有证据不受理。
像这种电话轰炸的, 是不是只要没有证据也不受理啊?

谢谢老哥, 盼复!

配置文件写了手机号之后,start 后没有效果诶

"targetInfo": { "phone": "139*******", "name": "", "email": "", "address": "", "comment": "最近正好需要这个,看到了你们的网站,也看到了你们的产品,很不错,很感兴趣,希望可以得到体验,也希望可以回复一下" }
像这样 对嘛?

官网有验证码了

官网开启了验证码。
应该是没有对验证码判断吧。。。
现在失效了
此外,我开了天翼防*扰。。。。
手动随机测试10个,一个都没有接到

留言模式有问题不能运行

Error: Cannot parse config file: 'C:\Users\AI1\bomer\config\production.json': SyntaxError: Unexpected token } in JSON at position 464
at Config.util.parseFile (C:\Users\AI1\bomer\node_modules\config\lib\config.js:963:11)
at C:\Users\AI1\bomer\node_modules\config\lib\config.js:725:28
at Array.forEach ()
at C:\Users\AI1\bomer\node_modules\config\lib\config.js:721:14
at Array.forEach ()
at Config.util.loadFileConfigs (C:\Users\AI1\bomer\node_modules\config\lib\config.js:720:13)
at new Config (C:\Users\AI1\bomer\node_modules\config\lib\config.js:136:27)
at Object. (C:\Users\AI1\bomer\node_modules\config\lib\config.js:1797:31)
at Module._compile (internal/modules/cjs/loader.js:777:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:788:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: cross-env NODE_ENV=production node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AI1\AppData\Roaming\npm-cache_logs\2019-07-26T07_01_05_065Z-debug.log

运行不了

[email protected] start /root/bomer
cross-env NODE_ENV=production node app.js

sh: cross-env: command not found

npm ERR! Linux 5.0.0-1.el7.elrepo.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v6.16.0
npm ERR! npm v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] start: cross-env NODE_ENV=production node app.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script 'cross-env NODE_ENV=production node app.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the buy_pig_plan package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=production node app.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs buy_pig_plan
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls buy_pig_plan
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! Please include the following file with any support request:
npm ERR! /root/bomer/npm-debug.log

测试

我拿自己手机试了一下,怎么没反应

Error: Failed to launch chrome!

TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

at onClose (/root/buy_pig_plan/node_modules/puppeteer/lib/Launcher.js:342:14)
at Interface.helper.addEventListener (/root/buy_pig_plan/node_modules/puppeteer/lib/Launcher.js:331:50)
at emitNone (events.js:111:20)
at Interface.emit (events.js:208:7)
at Interface.close (readline.js:370:8)
at Socket.onend (readline.js:149:10)
at emitNone (events.js:111:20)
at Socket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)

Error: Failed to launch chrome!
[0612/225018.863039:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
老哥这个问题怎么解决呀

debug.json改为comment模式无法启动

TypeError: Cannot read property 'replace' of undefined
at getFilename (E:\buy_pig_plan-master\utils\util.js:31:21)
at Object.getURLList (E:\buy_pig_plan-master\utils\util.js:20:20)
at Object. (E:\buy_pig_plan-master\app.js:17:33)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.