Skip to main content

Fiverr API Scraper is a Python library that allows you to extract detailed information from Fiverr fluently without any restriction. It returns JSON responses and BS4-HTML-SOUP according to your will.

Features

  • Extract detailed information from Fiverr; gig, recommendations, profiles, bios and all.
  • No restrictions
  • ScraperAPI supported

Installation

You can install the Fiverr API Scraper using pip:

pip install fiverr-api

Usage

Below are examples of how to use the Fiverr API Scraper to extract data from Fiverr gig pages and user profiles.

Scrape Example

from fiverr_api import session

session.set_scraper_api_key("XYZ-SCRAPER_API_KEY")
response = session.get("https://www.fiverr.com/username/your-gig-slug") # your fiverr url should be here
json_data = response.props_json() # gives you JSON
print(response.soup) # gives you beautiful soup instance
# You can use `response.soup` to further extract your information. 

Get your ScraperAPI key here.

Project Structure

The Fiverr API Scraper is organized into several modules to enhance code readability and maintainability:

  • fiverr_api
    • __init__.py: For exporting session
  • fiverr_api.utils
    • req.py: Extending requests for Fiverr scraping
    • scrape_utils.py: Utilities for scraping

scraper.py gives you a function named get_perseus_initial_props() which returns the initial props of the Fiverr page. This function is used by the modules to extract initial JSON data.

License

GPL

Contributing

New pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Author

Check more of my projects.

Release files for fiverr-api 1.0.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 fiverr-api 1.0.1
File Size Uploaded
fiverr_api-1.0.1.tar.gz 15.7 kB Details

Release files / fiverr_api-1.0.1.tar.gz

Download URL fiverr_api-1.0.1.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2dd2265648430567f4b699c645e99b1671dd8bab3ce5dd40261e0531fc9d4388
BLAKE2b-256 checksum
How to use checksums
bf8be1a72ba843f34f9cf1f32c5341be179b1a4647979fb320f3f0254d4306e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

1 release file

0.0.9

1 release file

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

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