Skip to main content

Fakepilot

CI

Trustpilot scrapping Python package. Extract online business reviews and integrate it on your code. It is based on BeautifulSoup.

Features

  • Extract the information of a company from a Trustpilot page.
  • Obtain its reviews with a fine-grained detail.
  • The output data is structured in a simple dictionary.

IMPORTANT: fakepilot now doesn't fetch the web pages from Trustpilot. This must be done by the user of the package.

Usage

The main function is extract_info. You can pass a file containing a Trustpilot HTML page of a company and it returns information, like number of reviews, phone number or address. Also, you can specify if you want some of the company's reviews to be extracted.

import fakepilot as fp
fp.extract_info("tests/data/burgerking.no.html")
fp.extract_info("tests/data/burgerking.no.html", with_reviews=True, 2)

Installation

fakepilot is available on Pypi. You can install it with

pip install fakepilot

To install fakepilot from the GitHub source, clone the repository with git:

git clone https://github.com/phoenixsite/fakepilot.git

Then, change your current directory to the one you cloned and install it with pip:

cd fakepilot
pip install .

Documentation

For a detail description of all the options you can visit the fakepilot's documentation or you can build yourself in docs with Sphinx:

cd docs
make html

Metadata

Release files for fakepilot 25.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fakepilot 25.5.1
File Size Uploaded
fakepilot-25.5.1.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for fakepilot 25.5.1
File Interpreter ABI Platform
fakepilot-25.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / fakepilot-25.5.1.tar.gz

Download URL fakepilot-25.5.1.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
02f7546e1da729788ab678312665e9cb1744610a4556520d7a17db45a652d62e
BLAKE2b-256 checksum
How to use checksums
a47845c73d56f9e56239fe9a35a00a0162b6c4e876a28c697a0b6678d9035d91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 13, 2025.

Transparency log

Release files / fakepilot-25.5.1-py3-none-any.whl

Download URL fakepilot-25.5.1-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db5a88d84c72e1a6f27d1d26e23994d487c9b79fb6106528b2d410cebf46c000
BLAKE2b-256 checksum
How to use checksums
722bfc8b26abcc38b0b0c58d38df35f2e99e35a0aa4e384fce5443dd90268507
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 13, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

25.5.1 This release

2 release files

25.5.0

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page