PyPoE 101: Item exporting - Project-Path-of-Exile-Wiki/PyPoE GitHub Wiki

Preparation

Ensure you have checked out the dev branch. This branch contains the most up-to-date file specs contained in this repo.

Exporting

A sample item export command looks like this

pypoe_exporter wiki items item name "Celestial Necrolord Gloves" -p

In which the -p is the option to print the output in your console

You can replace it with --write (or -wr) to output the mediawiki code as .txt file. Note that since file names cannot have ":" in Windows, some item exports cannot be written to text file due to this (e.g. some Contracts).

There are other variations to the command which let you choose what items to export in other ways.

Here is the id-based export:

pypoe_exporter wiki items item id Metadata/Items/MicrotransactionItemEffects/MicrotransactionCelestialNecrolordGloves -p

Which export the same item but using the game's internal id. As mentioned in above paragraph, the -p can be replaced with other output option

For large scale exporting, you can specify a rowid range to output:

pypoe_exporter wiki items item rowid 0 1000 --write

Note that in the above command, 0 1000, means the first 1000 items will get exported. Note that the row with an index of 0 (the first row) will get exported but the row with an index of 1000 (the 1001st row) will not get exported.

The rowid of a specific item may vary league to league, as the game developers delete entries or add entries in the game file every league.

To be doc:

pypoe_exporter wiki items by_filter

???

Map

All maps after War for the Atlas use the same internal meta data id. It is coded to shuffled easily, so that pypoe use this code to export map

pypoe_exporter wiki items maps map series Expedition --write

Notes

item with same name Item with same name can be disambiguated by editing PyPoE/cli/exporter/wiki/parsers/item.py

make sure you checked the naming convention before adding new entry

mediawiki

in wiki, _ cannot be used in the page name, so that it is automatically wrapped to ~.

two underscore , and three and four are parsed differently