orsted-price-scraper's People
orsted-price-scraper's Issues
Returned prices should be ordered by date
Add simple scrape mutex
Add a simple database mutex such that another scraper cannot start while one is ongoing.
Fails to load west prices on Heroku
It looks like o-geo-knot.left from: https://github.com/mathiastj/orsted-price-scraper/blob/master/src/scraper.js#L39 does not exist ever when run on Heroku.
Therefore I only get the prices from the East region.
Could reproduce locally before setting in the sleep on line 38. Maybe up the sleep timer a lot more? Or use another way to indicate east/west.
I can't wait for the knot to appear since it might not, if we are on east.
Chrome suddenly won't launch
2019-06-23T20:22:08.404843+00:00 app[web.1]: 'Error: Failed to launch chrome!\n\n(chrome:22): Gtk-WARNING **: 20:22:08.380: cannot open display: \n\n\nTROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md\n\n at onClose (/app/node_modules/puppeteer/lib/Launcher.js:342:14)\n at ChildProcess.helper.addEventListener (/app/node_modules/puppeteer/lib/Launcher.js:332:60)\n at ChildProcess.emit (events.js:203:15)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)',
2019-06-23T20:22:08.404845+00:00 app[web.1]: msg:
2019-06-23T20:22:08.404850+00:00 app[web.1]: 'Failed to launch chrome!\n\n(chrome:22): Gtk-WARNING **: 20:22:08.380: cannot open display: \n\n\nTROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md\n'
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.