
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
findonpage
Advanced tools
Simple Node.js Library to check if something is on a webpage
npm install findonpage
const find = require('findonpage')
If you've required the package, as seen here above, you'll have to decide which type of find you want to use. Here's the list:
After you've decided which one you want to use you can use the following snippets to use them:
// Make a simple requests, no random user agents.
find.normal(url, word, r => {
console.log('Normal: ' + r)
})
// Fake, this one generates random user agents. Some websites require user agents and will block requests without them.
find.fake(url, word, r => {
console.log('Fake: ' + r)
})
// Anticf, this one will try to bypass cloudflare their "I'm under attack" mode.
// This one can take up to 10 seconds when the page is under attack mode but will succeed in getting a result.
find.anticf(url, word, r => {
console.log('AntiCF: ' + r)
})
This will return type: true/false
in the console, you can now use the true/false to do other cool stuff!
Thanks CMDJojo for helping me making this small package
FAQs
Simple Node.js Library to check if something is on a webpage
The npm package findonpage receives a total of 2 weekly downloads. As such, findonpage popularity was classified as not popular.
We found that findonpage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.