curl -X POST "https://api.ujeebu.com/scrape" \ -H "ApiKey: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://news.ycombinator.com/", "js": true, "extract_rules": { "stories": { "selector": "tr.athing", "type": "obj", "multiple": true, "children": { "title": {"selector": ".titleline > a", "type": "text"}, "url": {"selector": ".titleline > a", "type": "link"}, "points": {"type": "fn", "fn": "return $parent.nextElementSibling?.querySelector('"'"'.score'"'"')?.textContent || null;"} } } } }'