Scrapes and displays data from the web page based on rules.
As of
This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://updategf.qytechs.cn/scripts/471264/1222741/MagicScraper.js
const rules = {
// Your rules object here
};
const options = {
keepChildren: false, // Set to true if you want to retain children of scraped elements
};
scraper(rules, options);
// OR
scraper('https://example.com/rules.json', options);