🔥 Linkedin Companies & Profiles Bulk Scraper avatar
🔥 Linkedin Companies & Profiles Bulk Scraper

Pricing

$29.00/month + usage

Go to Store
🔥 Linkedin Companies & Profiles Bulk Scraper

🔥 Linkedin Companies & Profiles Bulk Scraper

Developed by

Bebity

Bebity

Maintained by Community

Companies & Profiles Linkedin scraper. Get comprehensive profiles of individuals and companies based on your keywords and filters. Unleash the power of data! 🌐🔍

2.1 (7)

Pricing

$29.00/month + usage

174

Total users

7.3k

Monthly users

714

Runs succeeded

>99%

Issues response

9.4 days

Last modified

2 months ago

SM

Get keywords in output

Open

samyy opened this issue
a year ago

I am lanching the linkedin scrapper api using Python code. When I export the results (csv), I only have the outputs of the scrapper , not the input keywords. I need to link the outputs to the keywords given in input (to know which outputs corresponds to each of the input keys). How can I do that?

CJ

changeable_jigsaw

a year ago

def get_input_paramters_for_run(self, actor_run_id): actor_run_details = self.client.run(actor_run_id).get() default_key_value_store_id = actor_run_details.get('defaultKeyValueStoreId') # actor_id = actor_run_details.get('actId')

if default_key_value_store_id:
# Use the default key-value store ID to retrieve the input
input_record = self.client.key_value_store(default_key_value_store_id).get_record('INPUT')
input_parameters = input_record.get('value')
print('Input parameters:', input_parameters)
return input_parameters
else:
print('No default key-value store ID found for this actor run.')
return []
CJ

changeable_jigsaw

a year ago

had the same issue, i retrieved the input URLs via above method and matched them my self. if the crawler doesnt have any mistakes, entries are in the same order. in case there are errors you have to manually match input/output. i am basically using the log as a basis for that.

log = self.client.log(actor_run_id).get() error_pattern = re.compile(r"ERROR.*identifier (\S+)")

CJ

changeable_jigsaw

a year ago

besides everything it would be a highly appreciated feature, to include the input URL into the record @bebity

bebity avatar

Bebity (bebity)

a year ago

Okay, we've just added it to the to-do list. We will comment here once it's done.

Regards