Scrapping tool for Trustpilot
Project description
Fakepilot
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02f7546e1da729788ab678312665e9cb1744610a4556520d7a17db45a652d62e
|
|
| MD5 |
1d8017af35459318de1687c114fa4eba
|
|
| BLAKE2b-256 |
a47845c73d56f9e56239fe9a35a00a0162b6c4e876a28c697a0b6678d9035d91
|
Provenance
The following attestation bundles were made for fakepilot-25.5.1.tar.gz:
Publisher:
release.yml on phoenixsite/fakepilot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fakepilot-25.5.1.tar.gz -
Subject digest:
02f7546e1da729788ab678312665e9cb1744610a4556520d7a17db45a652d62e - Sigstore transparency entry: 212243833
- Sigstore integration time:
-
Permalink:
phoenixsite/fakepilot@46da0c3bc1e56eaa8138ad6e87bc3dc13592eacb -
Branch / Tag:
refs/tags/v25.05.1 - Owner: https://github.com/phoenixsite
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@46da0c3bc1e56eaa8138ad6e87bc3dc13592eacb -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db5a88d84c72e1a6f27d1d26e23994d487c9b79fb6106528b2d410cebf46c000
|
|
| MD5 |
2ce7de71d42c40a0e431a690464535d3
|
|
| BLAKE2b-256 |
722bfc8b26abcc38b0b0c58d38df35f2e99e35a0aa4e384fce5443dd90268507
|
Provenance
The following attestation bundles were made for fakepilot-25.5.1-py3-none-any.whl:
Publisher:
release.yml on phoenixsite/fakepilot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fakepilot-25.5.1-py3-none-any.whl -
Subject digest:
db5a88d84c72e1a6f27d1d26e23994d487c9b79fb6106528b2d410cebf46c000 - Sigstore transparency entry: 212243843
- Sigstore integration time:
-
Permalink:
phoenixsite/fakepilot@46da0c3bc1e56eaa8138ad6e87bc3dc13592eacb -
Branch / Tag:
refs/tags/v25.05.1 - Owner: https://github.com/phoenixsite
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@46da0c3bc1e56eaa8138ad6e87bc3dc13592eacb -
Trigger Event:
release
-
Statement type: