"""
author: Zack Schwartz (zacharyhschwartz@gmail.com)
date created: 11/14/2011
"""

from generic_controller import *
from ..components.link_parser import *
import time

class ParserController(GenericController):
    def __init__(self, queue_control):
        GenericController.__init__(self, queue_control)

    def run(self):
        while True:
            status = self.queue_control.queue_raw_tweets.get()
            if contains_url(status):
                self.queue_control.queue_parsed.put(status)
                #print_status(status)



                
            








