Skip to main content

Scrapping tool for Trustpilot

Project description

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

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

fakepilot-25.5.1.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

fakepilot-25.5.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file fakepilot-25.5.1.tar.gz.

File metadata

  • Download URL: fakepilot-25.5.1.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fakepilot-25.5.1.tar.gz
Algorithm Hash digest
SHA256 02f7546e1da729788ab678312665e9cb1744610a4556520d7a17db45a652d62e
MD5 1d8017af35459318de1687c114fa4eba
BLAKE2b-256 a47845c73d56f9e56239fe9a35a00a0162b6c4e876a28c697a0b6678d9035d91

See more details on using hashes here.

Provenance

The following attestation bundles were made for fakepilot-25.5.1.tar.gz:

Publisher: release.yml on phoenixsite/fakepilot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fakepilot-25.5.1-py3-none-any.whl.

File metadata

  • Download URL: fakepilot-25.5.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fakepilot-25.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 db5a88d84c72e1a6f27d1d26e23994d487c9b79fb6106528b2d410cebf46c000
MD5 2ce7de71d42c40a0e431a690464535d3
BLAKE2b-256 722bfc8b26abcc38b0b0c58d38df35f2e99e35a0aa4e384fce5443dd90268507

See more details on using hashes here.

Provenance

The following attestation bundles were made for fakepilot-25.5.1-py3-none-any.whl:

Publisher: release.yml on phoenixsite/fakepilot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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