Comments (9)
As a quick heads up everyone, my nvidia-snatcher on AWS got blocked. I don't have much experience when it comes to scraping pages, but I recently found this guide to help your bot run a little while longer.
I do want to mentioned, the easiest way prevent getting blocked, is by limiting your rate. Change your request interval to 30+ seconds.
from streetmerchant.
I think getting this to not use puppeteer and separating logic would help with containerization. Related to #113
from streetmerchant.
puppeteer needs a display to work. xvfb will do the trick
RUN apt-get update && \
apt-get install -yq --no-install-recommends \
libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \
libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \
libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 \
libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 \
libnss3
# Start script on Xvfb
CMD Xvfb :99 -screen 0 1024x768x16 & npm start
I have a docker container for nodejs and xvfb as well: lmerza/xvfb
from streetmerchant.
Do you mind if we close this out?
from streetmerchant.
I recommend we keep it open, as I feel the information/discussion is helpful for others going down the path of containerization and web scraping on cloud providers. However, if you feel it is necessary to close, I'm 100% fine with you going forward on it.
from streetmerchant.
It will still be accessible, just closed. Or you can make a Wiki page https://github.com/jef/nvidia-snatcher/wiki . I'm just not sure what to do with this in Issue tracking.
from streetmerchant.
Related: #174
from streetmerchant.
Not sure what I want do with Docker yet. There are some hurdles and hacks and I don't know if I want to put anything inside the repository.
Feel free to create a Wiki page with instructions on installation. I don't know if I want to support this yet.
from streetmerchant.
Closing due to the merge of #209 there is also #174. Feel free to create a Wiki page for instructions on docker.
from streetmerchant.
Related Issues (20)
- [Bug]: Amazon-it is ignoring MAX_PRICE_SERIES filter HOT 6
- [Bug]: Failing to launch the browser process on Raspberry Pi HOT 2
- [Bug]: Not able to send out a Twitter notification HOT 4
- [Bug]: in stock issue HOT 5
- [Bug]: Caseking stock-lookup returns false positive HOT 2
- [Bug]: MAX_PRICE_SERIES_* Not Working on Amazon (US) HOT 10
- [Bug]: Unexpected token ? Discord error on start (NEW PULL) HOT 1
- [Bug]: Please Help Twitch Chat bot doesent work HOT 1
- [Bug]: No Telegram Message HOT 1
- [Bug]: Fails to run on M1 Mac (OSX 12.1) HOT 2
- fixed
- [Bug]: walmart-ca falsely triggering for sonyps5de HOT 3
- [Bug]: All "page" settings in dotenv get ignored HOT 3
- Won't get current store stock HOT 2
- [Bug]: Post to Twitter: Status is a duplicate. HOT 2
- [Bug]: docker deployment chromium package missing in alpine > 3.11 HOT 1
- [Feature]: RTX 4000 series HOT 10
- [Bug]: Wrong repo sorry
- [Feature]: Add Matrix as a notification option HOT 4
- [Feature]: Support AMD RX 7900 XT/XTX HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streetmerchant.