Closed Lightmare2 closed 3 years ago
Experiencing the same here. Let me know if you found a fix!
Edit: Found the issue
In Company.py, add the following around line 212:
elif txt == 'Headquarters':
self.headquarters = values[i+x_off].text.strip()
I'm not sure why these lines were missing.
Thank you Cas, it also works for me now :)
Hi,
I'm using your code for my master thesis (thanks btw) to scrape certain information of media companies. I'm interested in the type ,location (HQ) and the amount of employees. I made a preliminary script based on your code to test out if it would work.
I managed to scrape all the info that I need: Name, Type & size except for the headquarters. It returns "None" for the four companies that I tried.
If I'm correct, the HQ on linkedin is for Al Jazeera Doha (Marked in red) right? Next to the type of company.
Is there something wrong in my code that it is not able to scrape that particular part? Would be very usefull if I'm able to scrape that part for my master thesis! Not sure what I'm doing wrong..
Thank you in advance!
My code: