def __init__(self, search_dict): # sets Google News RSS URL Search.__init__(self, search_dict) keywords = self.search_dict['keywords'] self.url = ("https://news.google.com/rss/search" + f"?q={Util.set_plus_format(keywords)}" + "&hl=en-US&gl=US&ceid=US:en")
def __init__(self, search_dict): # sets Twitter RSS URL Search.__init__(self, search_dict) keywords = self.search_dict['keywords'] self.url = ("http://twitrss.me/twitter_search_to_rss/" + f"?term={Util.set_plus_format(keywords)}")
def __init__(self): #super(self.__class__,self).__init__() Search.__init__(self) self.load_matricies() self.qp = QueryParser()
def __init__(self): #super(self.__class__,self) Search.__init__(self) self.qurl = "http://www.google.com/search?hl=en&q=" self.urls = [] self.excerpts = []
def __init__(self, start): Search.__init__(self, start) self.fringe = Queue.Queue()
def __init__(self, start): Search.__init__(self, start) self.fringe = Stack()
def __init__(self, search_dict): # sets The News & Advance RSS URL Search.__init__(self, search_dict) keywords = self.search_dict['keywords'] self.url = ("https://www.newsadvance.com/search/" + f"?q={Util.set_plus_format(keywords)}" + "&f=rss")
def __init__(self, search_dict): # sets SearchEngineWatch RSS URL Search.__init__(self, search_dict) keywords = self.search_dict['keywords'] self.url = ("https://searchenginewatch.com/search/" + f"{Util.set_plus_format(keywords)}" + "/feed/rss")