Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
looks up frame data in local /data/character.csv files and prints it out based on a command in the "]character move" format. based on chatbot.py.
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitattributes
.gitignore
SRKSF4scraper.py
fdatabot.py
fdataget.py
readme.md

readme.md

Framedata Bot

Author: Justin Woo Date: 1-Jan 2013

This script allows the user to run a simple IRC bot that listens for messages preceded by ']' to retrieve framedata information.

example

Usage:
fdatabot.py [-h] SERVER NICK CHANNEL

-h, --help:     shows help message
CONFIG          location of the configuration file

The configuration file is formatted as such:

data: ./out
aliases: ./aliastable.dat
irc.slashnet.org,6667,testerszxc,#kigurumi

Note: you append extra [server],[port],[nick],[[channels]] entries to add more connections

Please append channels in a [#chan1, #chan2, #chan3, ...] format to add extra channel joins

In this version, the horrible rawextract.py script has been replaced with the much better SRKSF4scraper.py. Setup will now require the use of BeautifulSoup in the grabbing of HTML data from the SRK Wiki directly. Lots of the old voodoo code was left in to minimize development time.

setup

yes, oni and gen's tables are all messed up in the wiki. will i be providing a fix for them? no. srk should fix their damn tables.

SRKSF4scraper.py usage:

Usage:
SRKSF4scraper.py [-h] OUTPUT

-h, --help:         shows help message
OUTPUT              where to store output .csv files

Future work: If anyone wishes to continue work and talk to me about it, just e-mail me.

To be done: Use some other storage scheme like JSON Redo it in Ruby for fun

Something went wrong with that request. Please try again.