This is a simple script to scrape a website using a single class/ID/element, and collect data to compare. The main scope of the script is to monitor specific section of a webpage and check if its changes; if changes occurs, then mark the row as "updated"
The other part of script is dedicated to WordPress tool MainWP . It can be used to collect data from the configured sites in mainWP, check update status, check plugins and more.
First of all, the script use two libraries: mkHelpers and CheerioGS To add these libraries, here's the IDs:
ID for mkHelpers
1pkV84UaRd7PCg5UMOez6Y1MgaXASwyeGkXs0v0en_CSkKwDLdTeDP2FC
ID for CheerioGS
1ReeQ6WO8kKNxoaA_O0XEQ589cIrRvEBA9qcWpNqdOP17i47u6N9M5Xh0
TODO - complete the conversion from contained script to standalone script