spinlud / linkedin-jobs-scraper

151 stars 41 forks source link

Cant Extract: data.seniority_level, data.industries while using Authenticated strategy. #24

Closed tiagorestrepoe closed 1 year ago

tiagorestrepoe commented 3 years ago

Every time I run it in anonymous strategy i get always seniority_level and industries values, but when i try to use the library with Authenticated strategy i get nothing in those values. I add the following code to the library to obtain the data


lista_ = []
def on_data(data: EventData):

    jobs_data = [data.title, data.company,data.place, data.employment_type,data.seniority_level, data.link, data.job_function, data.industries, data.description ]

    lista_.append(jobs_data)
Dyon42 commented 2 years ago

did you solved this issue because i ahve now the same issue

spinlud commented 2 years ago

Hi there, it seems these fields are no longer available in Linkedin job posts. You can find additional info in the insights field, which is a (potentially empty) array of strings. The following are some examples: