Skip to main content

Scrape data from a users Greasyfork account

Project description

Greasyfork User Archive

PyPi version Python 3.6|3.7|3.8|3.9 PRs Welcome

Scrape data from a users Greasyfork account.

For a given user, for each installable script that users created, scrapes:

script id
script name
script authors
daily installs
total installs
rating score
created date
updated date
script type
script version
sensitive
language
css available as js
description
url
code (the script contents)

This does not scrape the script code for items that can't be installed directly, e.g. this.

Example

greasyfork_archive 106222 --output-file scraped_data.json

This would scrape information for the user https://greasyfork.org/en/users/106222

Installation

To install with pip, run:

pip3 install --user greasyfork_archive

Run

Usage: greasyfork_archive [OPTIONS] GREASYFORK_USER_ID

Options:
  --output-file PATH  JSON filepath to output scraped data to  [required]
  --help              Show this message and exit.

Tests

pip3 install --user pytest vcrpy
pytest

Project details


Download files

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

Files for greasyfork-archive, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size greasyfork_archive-0.1.3-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size greasyfork_archive-0.1.3.tar.gz (202.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page