barnumbirr / wookie

wookie is a simple, open source, easy-to-use iRC RSS bot written in Python. It was designed to announce new torrent releases in a given iRC channel.
Other
15 stars 9 forks source link

Striping title #13

Open ZeroSuf3r opened 8 years ago

ZeroSuf3r commented 8 years ago

If RSS feed title: Big brand name - Awesome cool It seems it striping - and last part Awesome cool doesn't come.

So, the final output: Big.brand.name Second part doesn't show up.

barnumbirr commented 8 years ago

Hi there,

this is by design (for our use at least ;) ). If you want to change that behaviour, you'll have to edit wookie around here.

Cheers.

ZeroSuf3r commented 8 years ago

Yeah, i did it. How about code update on: def run(self): ? If IRC server fails, bot doesn't reconnect, log file: http://pastebin.com/qgmkxETM

Code update(didn't tested): http://pastebin.com/sr2AcGnz

EDIT: Above code doesn't work! Edited one, testing right now: http://pastebin.com/eZwzJ0Ex

barnumbirr commented 8 years ago

When you've tested your code you can create a Pull Request. I'll gladly merge it into the project.

ZeroSuf3r commented 8 years ago

Ok, right now running with my code above. For this time IRC server doesn't crashed, so everything working as it should. I'l be in touch if something happens.