Streetmerchant: Ubuntu Server

Created on 13 Nov 2020  路  13Comments  路  Source: jef/streetmerchant

Description

Everytime I attempt to start the script "sudo npm run start" it throws an error saying that "sc -c tsc" and "sh -c npm run build && node build/index.js" failed
OS Is Ubuntu Server

I have node installed same with all the files and everything needed

bug

All 13 comments

Alright well it works but every time I use CTRL + C to close it then it says command failed "csh -c npm run build && node build/index.js" will that effect anything?

and having 2 ubuntu screens with 2 different trackers it throws a ton of timeout 300000 ms exceeded errors

now im getting a ton of binary issues on 1 session of it. in pink it says "something bad happened....resetting...could not find browser revison"

Hi there! It's really hard to understand any of issues because I don't have a console log. Can you provide that?

Yeah sure. I fixed the binary issue. Now its just throwing a ton of exceeds navigation errors when I open 2 or more streetmerchants. Let me get a console log for you

image3
image1
image0

One is from my 3070 screen other is from 3080 and other is from console (3 different webhooks and ping roles on discord)

always seems to exceed on newegg, bestbuy and sometimes walmart and target

I'd make sure you have USER_AGENT setup. https://www.google.com/search?q=what+is+my+user+agent

Another thing to mention is that if you have 3 bots running at once, all with amazon, then you will be hitting amazon 3x as much, so you may be getting a lot more timeouts or other status codes.

This is all well known behavior and is a side effect of scraping _many_ pages from the same domain.

alright. If I set the timeout to 0 will it not continue until it can ping that page?

Yep, that's correct. But I would not recommend that. I would set to something reasonable like 30000-60000.

Alright ill try setting up my user agent. Do you know any method to get it on ubuntu? If not its fine ill google it. Second, do I use the whole thing EG "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"?

You would get it the same way you did with Windows/macOS. Yes, use that whole string if that's where you're running it.

USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"

Alright thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kylezoa picture kylezoa  路  3Comments

millionhari picture millionhari  路  5Comments

lngchn picture lngchn  路  3Comments

mhenry84 picture mhenry84  路  3Comments

poly-mathic picture poly-mathic  路  5Comments