# Import Psyco if available
try:
    import psyco
    psyco.full()
except ImportError:
    pass

from runscraper import *
from utils import *

torrentStore = Store("torrents.axiom")
outfile = file("torrents.txt", "a")

for x in torrentStore.query(Torrent).getColumn("torrentname"):
    outfile.write(x)
    outfile.write("\n")
