pneumann99 / wg_updater Goto Github PK
View Code? Open in Web Editor NEWA simple NodeJS script to keep a WG-Gesucht.de listing updated and on top of the WG-Gesucht offers page.
A simple NodeJS script to keep a WG-Gesucht.de listing updated and on top of the WG-Gesucht offers page.
I am using the following systemd service file to start the service automatically on boot
# Refer: [systemd.service](https://freedesktop.org/software/systemd/man/systemd.service.html)
[Unit]
Description=WgGesucht Service
[Service]
ExecStart=node /home/lamy/opt/bin/WgUpdater
[Install]
WantedBy=default.target
Further systemd can execute it as often as one wants.
Can you please, may be provide a simpler script file that excludes the part of the code that handles the repetition of the task? This is beneficial as systemd makes it much more user friendly to start on boot and other settings.
May be you can keep this along with your current script, so those who are interested in systemd can use that.
TypeError: (intermediate value).headless is not a function
at update_offer (/home/ ___ /wg_updater/wg_updater.js:12:44)
at Object. (/home/ ___ /wg_updater/wg_updater.js:62:1)
Solution:
let options = new chrome.Options();
options.addArguments("--headless");
options.addArguments("--window-size=640,480");
let driver = new Builder()
.forBrowser("chrome")
.setChromeOptions(options)
.build();
But then I get
Any idea?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.