#!/usr/bin/env python

from tpb import TPB

t = TPB()

# when using a proxy site
# t = TPB('http://uberproxy.net/thepiratebay.sx')


for to in t.get_recent_torrents():
    print '*' * 50
    to.print_torrent()
    print '\n'

"""
# search for programming ebooks
results = t.search('hello world', category=601)

for r in results:
    print '*' * 50
    r.print_torrent()
    print '\n'
"""
#!/usr/bin/env python

from tpb import TPB

t = TPB()

# when using a proxy site
# t = TPB(domain='http://uberproxy.net/thepiratebay.sx')


for to in t.get_recent_torrents():
    print '*' * 50
    to.print_torrent()
    print '\n'

"""
# search for programming ebooks
results = t.search('hello world', category=601)

for r in results:
    print '*' * 50
    r.print_torrent()
    print '\n'
"""
Fix the test bot's TPB initialization
Fix the test bot's TPB initialization
