tomquirk / linkedin-api

👨‍💼Linkedin API for Python
MIT License
1.71k stars 401 forks source link

Update helpers.py #302

Closed Asilomare closed 1 year ago

Asilomare commented 1 year ago

Linkedin changed its API, no longer returns the "old" field as "Promoted" for promotional content. Instead this element is omitted from the response. The proposed change filters promoted posts by checking if "old" key is in post's dict.