<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_collectors(self, limit=1000, offset=0):
 """Returns a dict of collectors. Args: limit (int):
 number of collectors to return offset (int):
 the offset of where the list of collectors should begin from """

        options = {
            'limit': limit,
            'offset': offset,
        }
        request = requests.get(self.url, params=options, auth=self.auth)

        try:
            results = request.json()['collectors']
        except KeyError:
            results = request.json()
        except json.decoder.JSONDecodeError:
            results = []

        return results