def get_profile_updates(self, public_id=None, urn_id=None, max_results=None, results=[]):
    '"\n        Return a list of profile posts\n\n        [public_id] - public identifier i.e. tom-quirk-1928345\n        [urn_id] - id provided by the related URN\n        '
    sleep(random.randint(2, 5))
    params = {'profileId': {(public_id or urn_id)}, 'q': 'memberShareFeed', 'moduleKey': 'member-share', 'count': Linkedin._MAX_UPDATE_COUNT, 'start': len(results)}
    res = self.client.session.get(f'{self.client.API_BASE_URL}/feed/updates', params=params)
    data = res.json()
    if ((len(data['elements']) == 0) or ((max_results is not None) and (len(results) >= max_results)) or ((max_results is not None) and ((len(results) / max_results) >= Linkedin._MAX_REPEATED_REQUESTS))):
        return results
    results.extend(data['elements'])
    self.logger.debug(f'results grew: {len(results)}')
    return self.get_profile_updates(public_id=public_id, urn_id=urn_id, results=results, max_results=max_results)
"
Return a list of profile posts

[public_id] - public identifier i.e. tom-quirk-1928345
[urn_id] - id provided by the related URN
def get_profile_updates(self, public_id=None, urn_id=None, max_results=None, results=[]):
    '"\n        Return a list of profile posts\n\n        [public_id] - public identifier i.e. tom-quirk-1928345\n        [urn_id] - id provided by the related URN\n        '
    sleep(random.randint(2, 5))
    params = {'profileId': {(public_id or urn_id)}, 'q': 'memberShareFeed', 'moduleKey': 'member-share', 'count': Linkedin._MAX_UPDATE_COUNT, 'start': len(results)}
    res = self.client.session.get(f'{self.client.API_BASE_URL}/feed/updates', params=params)
    data = res.json()
    if ((len(data['elements']) == 0) or ((max_results is not None) and (len(results) >= max_results)) or ((max_results is not None) and ((len(results) / max_results) >= Linkedin._MAX_REPEATED_REQUESTS))):
        return results
    results.extend(data['elements'])
    self.logger.debug(f'results grew: {len(results)}')
    return self.get_profile_updates(public_id=public_id, urn_id=urn_id, results=results, max_results=max_results)