
XING Data Extractor
- epctex/xing-scraper
- Modified
- Users 127
- Runs 2.3k
- Created by
epctex
Unleash the power of advanced scraping to gather comprehensive data on companies, jobs, profiles, communities, and groups from XING. Extract job descriptions, images, company details, summarizations and more. Customize your search terms, filters, and mappings for precision.
To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.
from apify_client import ApifyClient
# Initialize the ApifyClient with your API token
client = ApifyClient("<YOUR_API_TOKEN>")
# Prepare the Actor input
run_input = {
"search": "product",
"location": "berlin",
"radius": 100,
"startUrls": [
"https://www.xing.com/gruppen/freelance",
"https://www.xing.com/pages/spectrumag",
"https://www.xing.com/profile/Marko_RoeperGrewe",
"https://www.xing.com/search/in/jobs?facets%5B%5D=discipline&keywords=product&location=berlin&nrs=1&page=2&radius=10§ion=jobs",
],
"maxItems": 20,
"endPage": 1,
"extendOutputFunction": "($) => { return {} }",
"customMapFunction": "(object) => { return {...object} }",
"proxy": { "useApifyProxy": True },
}
# Run the Actor and wait for it to finish
run = client.actor("epctex/xing-scraper").call(run_input=run_input)
# Fetch and print Actor results from the run's dataset (if there are any)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)