def search(self, query, num_results, qtype=''):
        """ Makes a GET request to Loklak API and returns the URLs
        Returns: urls (list)
                [[Title1,url1], [Title2, url2],..]
        """
        encodedQuery = requests.utils.quote(query, safe='')
        url = self.loklakURL+encodedQuery

        responses = requests.get(url).json()

        tweets = []
        for response in responses['statuses']:
            tweets.append({'link': response['link'], 'text': response['text']})

        print('Twitter parsed: ' + str(tweets))

        return tweets[:num_results]
 Makes a GET request to Loklak API and returns the URLs
        Returns: urls (list)
                [[Title1,url1], [Title2, url2],..]
        
app/scrapers/twitter.py