Socket
Book a DemoInstallSign in
Socket

hacxkapkscraper

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hacxkapkscraper

A simple web scraper for APK information & Download Link

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

HACXK APK Scraper

GitHub

A Node.js package for scraping APK information from websites.

Installation

You can install the package via npm:

npm i hacxkapkscraper

Usage

// Import the hacxkAPKScraper function from the 'hacxkapkscraper' package
const { hacxkAPKScraper } = require('hacxkapkscraper');

// Define an asynchronous function to test the hacxkAPKScraper function
async function test() {
    // Specify the URL to scrape
    const url = 'com-zhiliaoapp-musically';
    try {
        // Call the hacxkAPKScraper function with the specified URL
        const result = await hacxkAPKScraper(url);
        // Log the result to the console
        console.log(result);
    } catch (error) {
        // Log any errors to the console
        console.error('Error:', error);
    }
}

// Call the test function
test();

Replace com-zhiliaoapp-musically with the URL of the APK (e.g., com-android-vending).

API

hacxkAPKScraper(url: string): Promise<object>

This function scrapes APK information from the provided URL and returns a Promise that resolves to an object containing the scraped data.

  • url: The URL of the APK information page.

Example Result:

{
  "author": "HACXK",
  "github": "https://github.com/hacxk",
  "apkInfo": {
    "title": "TikTok",
    "description": "discover, make and share short videos in this social network.",
    "packageName": "com.zhiliaoapp.musically",
    "version": "34.9.1 (2023409010)",
    "fileSize": "378.9 MB",
    "updated": "May 22, 2024",
    "minAndroidVersion": "Android 5.0 (Lollipop, API 21)",
    "screenDPI": "nodpi",
    "architecture": "universal",
    "md5": "601725378a9f3fbee7060c55c37d89e0",
    "sha1": "2897e1b86fe3762f5614b24da4dbbc0d3e1a9c82",
    "downloadLink": "https://r-static-assets.androidapks.com/rdata/xxxxxxxx/com.zhiliaoapp.musically_v34.9.1-2023409010_Android-5.0.apk"
  }
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Keywords

web scraper

FAQs

Package last updated on 30 May 2024

Did you know?

Socket

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.

Install

Related posts