Skip to content

Scrapping Multiple Profiles Mix data #13

@sebast20050

Description

@sebast20050

Hi! Im trying to scrape multiple person data in a for loop but even closing the driver, this library mix the data in the fields. Any suggestion?

Code Implemented:

from linkedin_scraper import Person, Company, actions
from selenium import webdriver
Personas = []

for i in range(5):
driver2 = webdriver.Chrome()
email = "sebast20050@gmail.com"
password = "Angostura!2020"
actions.login(driver2, email, password) # if email and password isnt given, it'll prompt in terminal
p= Personas.append(Person(str(final_test_short[i]).replace('['',"").replace('']',""), scrape=True,driver=driver2))
del driver2
sleep(2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions