Spaces:
Paused
Paused
Update linkedin_scraper.py
Browse files- linkedin_scraper.py +1 -2
linkedin_scraper.py
CHANGED
|
@@ -3,7 +3,7 @@ from selenium import webdriver
|
|
| 3 |
from selenium.webdriver.common.by import By
|
| 4 |
import time
|
| 5 |
|
| 6 |
-
def LINKEDIN_Scrapping(job_search , num_jobs):
|
| 7 |
job1 = job_search.split(" ")[0]
|
| 8 |
job2 = job_search.split(" ")[1]
|
| 9 |
|
|
@@ -20,7 +20,6 @@ def LINKEDIN_Scrapping(job_search , num_jobs):
|
|
| 20 |
# get the specific numbers of jobs
|
| 21 |
l1 = ""
|
| 22 |
ll =""
|
| 23 |
-
driver = webdriver.Chrome('chromedriver',options=options)
|
| 24 |
driver.get(link1)
|
| 25 |
SCROLL_PAUSE_TIME = 0.5
|
| 26 |
while True :
|
|
|
|
| 3 |
from selenium.webdriver.common.by import By
|
| 4 |
import time
|
| 5 |
|
| 6 |
+
def LINKEDIN_Scrapping(job_search , num_jobs,driver):
|
| 7 |
job1 = job_search.split(" ")[0]
|
| 8 |
job2 = job_search.split(" ")[1]
|
| 9 |
|
|
|
|
| 20 |
# get the specific numbers of jobs
|
| 21 |
l1 = ""
|
| 22 |
ll =""
|
|
|
|
| 23 |
driver.get(link1)
|
| 24 |
SCROLL_PAUSE_TIME = 0.5
|
| 25 |
while True :
|