Catalog npm
Back to packageRELEASE DETAILS

1.3.1

npm

2x10-webscraper

A simple webscraping API for images and videos for image board sites

scraperscrapingwebwebscraper
Published30 Sept 2025
Direct dependencies3
Transitive dependenciesNot calculated

README

Current package documentation

WebScraper.js

A simple webscraping API for images and videos board sites

Example initiation:

const { ScraperContext, ScrapeFast } = require("./WebScraper.js")

const context = new ScraperContext
({
    site: "https://example.org",
    query: "index?q=",
    tags: ["aesthetic", "skyscraper"],
	amount: 5,
    posts: 
    {
        container: ".thumbail-container",
        tag: ["a"],
        attribute: "href",
    },  
    post: 
    {
        container: ".content",
        tag: ["img", "source"],
        attribute: "src",
    },
    pages: 
    {
        container: ".paginator",
        tag: ["a"],
        attribute: "href",
        query: {
            name: "page",
            min: 0,
            max: 100,
        },
    },
});

async function Run()
{
    const response = await ScrapeFast(context);
    console.log(response);
}

Run();

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
undici
Environment
{
  "local_name": "undici",
  "alias": false,
  "peer_metadata": null
}
^7.16.0runtime
cheerio
Environment
{
  "local_name": "cheerio",
  "alias": false,
  "peer_metadata": null
}
^1.1.2runtime
node-fetch
Environment
{
  "local_name": "node-fetch",
  "alias": false,
  "peer_metadata": null
}
^3.3.2runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "3897674de99a4d41f40fd3ea33106939a9ce3cb9",
  "tarball": "https://registry.npmjs.org/2x10-webscraper/-/2x10-webscraper-1.3.1.tgz",
  "fileCount": 11,
  "integrity": "sha512-G5wKkDkHc5IyP6yGQYJQmV9tLzU9K8PqwMNGsUEDFQjjAeG1C278yU3IWPVJw11brgOFVHc87WmKMJpwtVKOqw==",
  "signatures": [
    {
      "sig": "MEQCIFIkdAX1NDIlpbJDD3afjUuiTUuPuaR4I85MdMgofbyhAiBbwkwUFIdAiFlIpo6wKoTvnRJixuaPCUQfwoaceCmsHA==",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "unpackedSize": 13777
}

Repository

PENDING
2x10/webscraper

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:20 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:9999753e0a6d03d8efd2bd08880820c23f5e669d4d3ee4b4e3f7d31e11a72f82

Other collected versions

1.4.45 Oct1.4.34 Oct1.4.23 Oct1.4.12 Oct1.4.030 Sept1.3.430 SeptView all collected versions →