def get_to(self, target, method):
    '\n        Fetch linked torrents and save to the specified output folder.\n        '
    for item in self.__get_items():
        title = item.find('title').text.strip()
        link = item.find('link').text
        log(('Found ' + title))
        if (title in self.cache):
            log('Already gotten. Skipping.')
            continue
        log('Getting ... ')
        if (not method(link, target, title)):
            continue
        with codecs.open(CACHE_FILE, 'a', 'utf-8') as tmp:
            tmp.write((title + '\n'))
        log('Done')
Fetch linked torrents and save to the specified output folder.
def get_to(self, target, method):
    '\n        \n        '
    for item in self.__get_items():
        title = item.find('title').text.strip()
        link = item.find('link').text
        log(('Found ' + title))
        if (title in self.cache):
            log('Already gotten. Skipping.')
            continue
        log('Getting ... ')
        if (not method(link, target, title)):
            continue
        with codecs.open(CACHE_FILE, 'a', 'utf-8') as tmp:
            tmp.write((title + '\n'))
        log('Done')