pywikitools.resourcesbot.bot#
Module Contents#
Classes#
Contains all the logic of our bot |
- class pywikitools.resourcesbot.bot.ResourcesBot(config: configparser.ConfigParser, limit_to_lang: Optional[str] = None, rewrite: Optional[str] = None, read_from_cache: bool = False)#
Contains all the logic of our bot
- get_english_version(self, page_source: str) Tuple[str, int]#
Extract version of an English worksheet @return Tuple of version string and the number of the translation unit where it is stored