MagicScraper

Scrapes and displays data from the web page based on rules.

目前為 2023-07-20 提交的版本,檢視 最新版本

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.gf.qytechs.cn/scripts/471264/1222741/MagicScraper.js

作者
aolko
版本
0.1
建立日期
2023-07-20
更新日期
2023-07-20
尺寸
3.3 KB
授權條款
未知

Define your rules object (either inline or external)

const rules = {
  // Your rules object here
};

Define the options

const options = {
  keepChildren: false, // Set to true if you want to retain children of scraped elements
};

Call the scraper function with the rules object or the external URL.

scraper(rules, options);
// OR
scraper('https://example.com/rules.json', options);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址