<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def scrape_links(self, text, context=False):
        '''Convenience function for scraping from a text string.'''
        return self.iter_processed_links(io.StringIO(text), context=context)