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 Build Status 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.

Source Distribution

greasyfork_archive-0.1.2.tar.gz (5.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page