Skip to main content

Scrape limited free games

Project description

freeg

freeg is simple script to scrape limited free games.

Currently only able to scrape website https://isthereanydeal.com/specials/.

Installation

$ pip install freeg

Usage

From console

Basic
$ freeg
1. Watch Dogs 2 - epicgames.com
2. Stick It To The Man - epicgames.com
3. Football Manager 2020 - epicgames.com

Choose game(s) :

Choose and enter the number according to the games you want to claim.

Choose game(s) : 1

It will automatically open (in this example) Watch Dogs 2 game page on Epic Games store from your default web browser.

Open multiple games

You can also open multiple games with , and - symbol

1,2     # Open games 1 and 2
1-3     # Open games 1,2,3
1,3-6   # Open games 1,3,4,5,6
6,2-3   # Open games 6,2,3 (order doesn't matter)
2-3,6   # Same with above

Using scraper.extract()

from freeg import scraper

games = scraper.extract()

games would look like this :

[
    {
      "title":"Bridge Constructor",
      "url":"https://gaming.amazon.com/loot",
      "store":"amazon.com",
      "time_left":"26 days left"
   },
   {
      "title":"Watch Dogs 2",
      "url":"https://www.epicgames.com/store/en-US/product/watch-dogs-2/home",
      "store":"epicgames.com",
      "time_left":"4 days left"
   },
   {
      "title":"Stick It To The Man",
      "url":"https://www.epicgames.com/store/en-US/product/stick-it-to-the-man/home",
      "store":"epicgames.com",
      "time_left":"4 days left",

    }
]

Notes

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

freeg-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

freeg-0.1.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file freeg-0.1.1.tar.gz.

File metadata

  • Download URL: freeg-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for freeg-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6f9c53d02ebc392b4b4591ec85682ff314aad8f6b9e1f1b25cae85821e2f423e
MD5 97d6842265c9cff8ce6faa24c83d35a5
BLAKE2b-256 32e2c86d182194283253862dd041a0b5f7cc06ea131c4ccc88925f9fc710e42e

See more details on using hashes here.

File details

Details for the file freeg-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: freeg-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for freeg-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8365bb937248893c5a805be498f8c60afcf41c24acd53ce8870612068226cad
MD5 d0b16d0281a324df743a4c745d5b1c00
BLAKE2b-256 29365b74d1875c5f1646d02aeee9be669298668232eff8ad9e05fc202c23963b

See more details on using hashes here.

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