Skip to main content

A package to obfuscate text using Unicode Private Use Area characters

Project description

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.noscrape import noscrape

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

text = n.obfuscate("test")

b64_font = n.render()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noscrape-1.0.3.tar.gz (11.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noscrape-1.0.3-py3-none-any.whl (11.1 MB view details)

Uploaded Python 3

File details

Details for the file noscrape-1.0.3.tar.gz.

File metadata

  • Download URL: noscrape-1.0.3.tar.gz
  • Upload date:
  • Size: 11.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.6

File hashes

Hashes for noscrape-1.0.3.tar.gz
Algorithm Hash digest
SHA256 7431b5577a51de711abc0e172bc4710d3a43edfd14c0124500a946d97a10bdf3
MD5 7fd9849b07a2e068d05bae53457b679f
BLAKE2b-256 8f5061beb3f7d688d24e7285de7744ef440de34332ecc81414d618fbf7a7dac9

See more details on using hashes here.

File details

Details for the file noscrape-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: noscrape-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 11.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.6

File hashes

Hashes for noscrape-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1b2d7fbebd7f7c61ab356cb44d8a092a23a4c4416fcf6e5d57aef6445ea600a3
MD5 3fb677c16cfed0937ef29337f6aa6867
BLAKE2b-256 2e1533783c06495646aa161440aff121af8c8fdf7194c29b14ee391aab8ccc5f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page