-
Notifications
You must be signed in to change notification settings - Fork 0
mgedigian/wikibots
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
INSTALLATION:
* requires mwclient module
Either in the PYTHONPATH or the current directory
You can check out a copy in the current directory with this command:
svn co https://mwclient.svn.sourceforge.net/svnroot/mwclient/trunk/mwclient"
* requires ~/.mwclient/config.py
You need to create a configuration file with information about
the wiki you're connecting to and you local environment.
mkdir ~/.mwclient/
cat > ~/.mwclient/config.py
site='mysite.com'
path='/w/'
username='mybots_username'
password='mybots_password'
editor="mate -w"
^D
* if you want to do text-to-speech, run the following after checking out the project
to get the tts files
git submodule init
git submodule update
USAGE:
example of running a query and parsing the results
python query.py
example of editing a page
python editarticle.py --page "Malaria"
CREDITS:
--------------------------------------------------------------------------------
TableParse.py (v2.0)
http://bebop.bigasterisk.com/python/TableParse.py
David McClosky (dmcc@bigasterisk.com)
GPLv2 License
--------------------------------------------------------------------------------
editarticle.py (from PyWikipediaBot)
http://pywikipediabot.sourceforge.net/
MIT License
Copyright (c) 2005 The PyWikipediaBot team
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published