You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# job_search contains jobs from your logged in front page:
146
+
# - job_search.recommended_jobs
147
+
# - job_search.still_hiring
148
+
# - job_search.more_jobs
149
+
150
+
job_listings = job_search.search("Machine Learning Engineer") # returns the list of `Job` from the first page
151
+
65
152
Scraping sites where login is required first
66
153
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
67
154
@@ -156,12 +243,12 @@ This is the interests they have. A list of ``linkedin_scraper.scraper.Interest``
156
243
This is the accomplishments they have. A list of ``linkedin_scraper.scraper.Accomplishment``
157
244
158
245
``company``
159
-
^^^^^^^^^^^^^^^
246
+
~~~~~~~~~~~~~~~
160
247
161
248
This the most recent company or institution they have worked at.
162
249
163
250
``job_title``
164
-
^^^^^^^^^^^^^^^^^
251
+
~~~~~~~~~~~~~~~~~
165
252
166
253
This the most recent job title they have.
167
254
@@ -183,7 +270,7 @@ For example
183
270
When this is **True**\ , the scraping happens automatically. To scrape afterwards, that can be run by the ``scrape()`` function from the ``Person`` object.
184
271
185
272
``scrape(close_on_complete=True)``
186
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
273
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
187
274
188
275
This is the meat of the code, where execution of this function scrapes the profile. If *close_on_complete* is True (which it is by default), then the browser will close upon completion. If scraping of other profiles are desired, then you might want to set that to false so you can keep using the same driver.
189
276
@@ -267,7 +354,7 @@ For example
267
354
company = Company("https://ca.linkedin.com/company/google", driver=driver)
268
355
269
356
``scrape(close_on_complete=True)``
270
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
357
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
271
358
272
359
This is the meat of the code, where execution of this function scrapes the company. If *close_on_complete* is True (which it is by default), then the browser will close upon completion. If scraping of other companies are desired, then you might want to set that to false so you can keep using the same driver.
0 commit comments