| eflyjason added a comment. |
Is this script something like https://github.com/WikiTeam/wikiteam/blob/master/wikipediadownloader.py?
Also, does "choose what file they want by providing the filename" mean that user will have to provide argument like "frwiki-latest-abstract.xml"?
And does user have to provide a "predicable directory" in argument?
I wrote a related script. Unfortunately it is hardcoded for Hungarian Wikipedia and therefore it has a lot of Hungarian text (as I didn't think at that time, that it would be useful for others).
https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/frissdump.py
This script does not download the dump, but refreshes a template with the date. Users interested in dump watch this template. So the first part of the task is solved: to watch the new version. It needs cron timing.
Somebody may find it useful.
So the script will download a new (updated) file from http://dumps.wikimedia.org/ once a while and replace the old downloaded one, right?
Sorry for so many questions 😅. I'm new to this.
Cc: eflyjason, binbot, zhuyifei1999, Framawiki, pywikibot-bugs-list, jayvdb, Rubin16, Aklapper, Beta16, Bright1055, Toppole69, Mine0901, Jayprakash12345, Magul, Tbscho, MayS, Beeyan, Mdupont, JJMC89, MtDu, D3r1ck01, Avicennasis, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
