'Get the failed downloads'

def run(self):

    ulimit = min(int(self.limit), 100)
    if (ulimit == 0):
        dbData = [x[u'doc'] for x in sickrage.srCore.failedDB.db.all(u'failed', with_doc=True)]
    else:
        dbData = [x[u'doc'] for x in sickrage.srCore.failedDB.db.all(u'failed', ulimit, with_doc=True)]
    return _responds(RESULT_SUCCESS, dbData)
