ITADN

fix: handle grouped profile experiences in get_profile_experiences

#452Pull RequestTheUncharted 创建于 2024-11-01已合并
T
TheUnchartedcommented
The fix is related to the issue [451](https://github.com/tomquirk/linkedin-api/issues/451) When dealing with grouped experiences (e.g. multiple positions at the same company) the API response will contain multiple indexes in data["included"]. The index with the most elements will contain probably all experiences, both grouped and individual, while other indexes may only contain partial data for the grouped experiences. Therefore, we want to use the index with the most items to ensure we process all experiences. I tested it on two large profile (14 and 8 experiences) with grouped experiences
合并状态:已合并 合并于 2025-01-11 关闭于 2025-01-11 2 条评论