~txtsd/neobots

8faa8d18f83bd71ceb23f8ecfbbf0fb1e4da0b92 — txtsd 7 years ago d7f0189
Add case for Apple Bobbing
1 files changed, 3 insertions(+), 0 deletions(-)

M classes/dailies.py
M classes/dailies.py => classes/dailies.py +3 -0
@@ 44,8 44,11 @@ class Dailies:
        html = result.content
        self.configurator.saveHTML('anchorManagement', html)
        item = re.search('class="prize-item-name">(.+?)</span>', html)
        lost_item = re.search('Oh no! Not your (.+?).</div>', html)
        if item:
            print('[%s]' % item.group(1))
        elif lost_item:
            print('Lost [%s]' % lost_item.group(1))
        else:
            print('Unforeseen result. Check logs.')