Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

noscrape

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

noscrape

A package to obfuscate text using Unicode Private Use Area characters

  • 1.0.4
  • PyPI
  • Socket score

Maintainers
1

noscrape Wrapper

Overview

Welcome to the official documentation for noscrape! This wrapper simplifies the integration of noscrape into your Python projects. noscrape is a tool designed to prevent web scraping by obfuscating HTML elements using true-type fonts with shuffled unicodes.

Concept

The primary mechanism behind noscrape is the utilization of true-type fonts. noscrape generates a new version with shuffled unicodes, making it impossible to reverse-calculate them. Additionally, glyph-paths inside the font are obfuscated by randomly shifting them slightly.

Platform Implementation

noscrape is implemented using platform-specific binaries optimized for different operating systems and architectures. These binaries include:

  • noscrape_darwin_arm64
  • noscrape_darwin_x86_64
  • noscrape_linux_arm64
  • noscrape_linux_x86_64
  • noscrape_windows_x86_64.exe

These binaries serve as the core engine of noscrape, handling the generation of obfuscated text using true-type fonts with shuffled unicodes.

Wrapper Implementations

Wrapper implementations provided in languages such as PHP, Java, and Node.js facilitate communication with the noscrape binaries. They collect input data, call the appropriate noscrape binary based on the host platform, pass the input data for obfuscation, and return the obfuscated text or other outputs.

Installation

You can install the noscrape wrapper using pip:

pip install noscrape

Usage


from noscrape import Noscrape

n = Noscrape("example/example.ttf")

text = n.obfuscate("test")

b64_font = n.render()

Putting it together

FAQs


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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc