Skip to content

FurryGamesIndex/GameYamlSpiderAndGenerator

Repository files navigation

🕯️ In memory of nullqwertyuiop

We are deeply saddened by the loss of our dear friend, nullqwertyuiop , who passed away on December 30, 2024. His kindness, generosity, and contributions to this project will never be forgotten. His commitment to excellence and selflessness made a lasting impact, and we are forever grateful for his support and friendship. Rest in peace, nullqwertyuiop.

Quick Start

Install

pip install gameyamlspiderandgenerator
pip install gameyamlspiderandgenerator[openai] # install extra hook
python3

Create a new configuration file

  • config.yaml
hook:
  - search
  - validate
proxy: { }
# if you don't want to set proxy, please fill in {}
# http: socks5://127.0.0.1:7891
# https: socks5://127.0.0.1:7891
git_proxy: null
hook_configs:
  search:
    google-play: # api key from https://serpapi.com/ 
    apple:  # api key from https://serpapi.com/ 

Try to make yaml data file

 python -m gameyamlspiderandgenerator -f /home/user/desktop/config.yaml  https://store.steampowered.com/app/290340/Armello/ -o 1.zip
 # or omit some options
 python -m gameyamlspiderandgenerator https://store.steampowered.com/app/290340/Armello/

or use the library in your script

from gameyamlspiderandgenerator import produce_yaml
from gameyamlspiderandgenerator.util.config import config
from gameyamlspiderandgenerator.util.plugin_manager import pkg

config.load("/home/user/desktop/config.yaml")
pkg.init()
print(produce_yaml("https://store.steampowered.com/app/1470120/Atopes/"))

More: see API Reference