You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recentchanges generator actually returns all changed pages, not just the one specified by clcategories, which only controls the categories that annotate each returned page. This parameter supports multiple categories combined with the | operator like the other parameters. Therefore, all categories to be automatically-updated can be retrieved in one Python script execution and one set of recentchanges API calls, as long as the output is written out to the correct directory based on the category.
There is maximum number of joined categories supported by clcategories. Pages may be in multiple categories and the categories array in the response should reflect this.
The text was updated successfully, but these errors were encountered:
Currently, the incremental update script is invoked once per automatically-updated category.
yaml-yugipedia/src/incremental.py
Lines 33 to 34 in 8ebd624
The
recentchanges
generator actually returns all changed pages, not just the one specified byclcategories
, which only controls thecategories
that annotate each returned page. This parameter supports multiple categories combined with the|
operator like the other parameters. Therefore, all categories to be automatically-updated can be retrieved in one Python script execution and one set ofrecentchanges
API calls, as long as the output is written out to the correct directory based on the category.There is maximum number of joined categories supported by
clcategories
. Pages may be in multiple categories and thecategories
array in the response should reflect this.The text was updated successfully, but these errors were encountered: