scrubbing.ffxiah#

class pydarkstar.scrubbing.ffxiah.FFXIAHScrubber[source]#

Get item data from ffxiah.com

property save#
property server#
property server_id#
scrub(force=False, threads=None, urls=None, ids=None)[source]#

Get item metadata main function.

If the pkl files exist (from a previous run of this function), then the ids and/or data will just be loaded from those pkl files. The force option allows you to ignore the pkl files and just redownload the data.

The item ids can be loaded from category urls or simply passed as a list. The urls can be generated automatically, in which case all possible items will be downloaded.

Parameters
  • force (bool) – ignore existing data and redownload

  • threads (int) – number of cpu threads to use while downloading

  • urls (list, None) – list of category urls

  • ids (set, list, None) – set of item ids

pydarkstar.scrubbing.ffxiah.extract(data, itemid, **kwargs)[source]#

Extract item data from scrubbed info.