此代码库提供两种从 LinkedIn 采集数据的方法:
- 免费:非常适合小规模项目、实验和学习用途。
- LinkedIn 爬虫工具 API:专为大规模、可靠的实时数据提取而设计。
不想自己抓取?获取完整的 LinkedIn 数据集。
- 方法 1:免费 LinkedIn 爬虫工具
- 免费方法常见的抓取挑战
- 方法 2:Bright Data LinkedIn 爬虫工具 API
- 开始使用 LinkedIn 爬虫工具 API
- (更多信息)数据采集方法
这款免费工具提供两项主要功能:
- LinkedIn 职位抓取工具:采集职位列表及完整的元数据
- LinkedIn 个人资料验证器:验证 LinkedIn 个人资料和公司 URL
从 LinkedIn 职位搜索中采集职位列表。
主要功能:
- 抓取详细的职位信息(职位名称、公司、地点、URL、发布日期)
- 内置速率限制和错误处理
- 输出整洁的 JSON
验证 LinkedIn 个人资料或公司页面是否存在。
主要功能:
- 检查个人资料/公司 URL
- 自动重试失败的请求
- 显示每个 URL 的详细状态
- 可同时检查多个 URL
只需几分钟即可开始使用:
- Python 3.9 或更高版本
- requirements.txt 中列出的必要软件包
只需三个简单步骤即可开始:
git clone https://github.com/bright-cn/LinkedIn-Scraper.git
cd LinkedIn-Scraper
pip install -r requirements.txt以下是使用这些爬虫工具的方法:
配置搜索参数:
# In jobs_scraper.py
params = {
"keywords": "AI/ML Engineer", # Job title/keywords to search
"location": "London", # Location to search in
"max_jobs": 100 # Maximum number of jobs to collect
}
# Run: python jobs_scraper.py该抓取工具会创建一个包含职位详情的 JSON 文件:
{
"title": "Research Engineer, AI/Machine Learning",
"company": "Google",
"location": "London, England, United Kingdom",
"job_link": "https://uk.linkedin.com/jobs/view/research-engineer-ai-machine-learning-at-google-4086259724",
"posted_date": "3 weeks ago",
}配置要验证的 URL:
# In profile_checker.py
test_urls = [
"https://www.linkedin.com/company/bright-data/",
"https://www.linkedin.com/company/aabbccdd/"
]
# Run: python profile_checker.py你将看到每个 URL 清晰的状态指示:
✓ linkedin.com/company/bright-data - Status: 200
✗ linkedin.com/company/aabbccdd - Status: 400从 LinkedIn 采集数据时,你会遇到各种反抓取措施。以下是你需要了解的内容:
- 速率限制:LinkedIn 会严格监控每个 IP 地址的请求频率。超出限制会导致 IP 被临时或永久封禁。
- CAPTCHA 检测:当 LinkedIn 检测到异常浏览模式时,会显示 CAPTCHA 验证,阻止自动访问。
- 身份验证障碍:大多数有价值的 LinkedIn 数据都需要身份验证。该平台可以轻松检测并阻止自动登录尝试。
- 技术挑战:其他障碍包括处理分页、动态内容加载、数据点不完整,以及处理 LinkedIn 广告。
虽然手动网页爬虫适用于小型项目,但随着规模扩大,难度会越来越高。为了可靠、高效且可扩展地采集 LinkedIn 数据,Bright Data 提供了更出色的解决方案,既能节省时间和资源,又能提供质量更高的结果。
linkedin_scraper_demo.webm
如果你需要强大且可扩展的 LinkedIn 抓取解决方案,可以考虑使用 Bright Data LinkedIn 爬虫工具 API。它值得考虑的原因如下:
- 无需设置基础设施:自动处理代理、CAPTCHA 和请求限流。
- 可扩展且可靠:针对大批量实时数据提取进行了优化。
- 覆盖全面:从个人资料、职位、公司和帖子中提取数据。
- 全球访问:支持所有地区和语言。
- 隐私合规:完全遵守 GDPR 和 CCPA 标准。
- 按使用量付费:仅为成功的响应付费。
- 免费试用:提供 20 次免费 API 调用,助你快速开始。
Bright Data LinkedIn 爬虫工具 API 允许开发者以编程方式从 LinkedIn 个人资料、公司、职位列表和帖子中提取公开数据。这款企业级解决方案可处理复杂的基础设施要求,包括代理管理、请求限流和数据解析。
开始之前,你需要:
使用公司的 LinkedIn URL 提取详细信息。
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
url |
字符串 | 是 | 要从中提取信息的 LinkedIn 公司 URL |
{
"name": "Kraft Heinz",
"about": "The Kraft Heinz Company is one of the largest food and beverage companies in the world, with eight $1 billion+ brands and global sales of approximately $25 billion. We're a globally trusted producer of high-quality, great-tasting, and nutritious foods for over 150 years.",
"key_info": {
"headquarters": "Chicago, IL",
"founded": 2015,
"company_size": "10,001+ employees",
"organization_type": "Public Company",
"industries": "Food and Beverage Services",
"website": "https://www.careers.kraftheinz.com/",
},
"metrics": {"linkedin_followers": 1557451, "linkedin_employees": 25254},
"stock_info": {
"ticker": "KHC",
"exchange": "NASDAQ",
"price": "$30.52",
"last_updated": "December 21, 2024",
},
"specialties": "Food, Fast Moving Consumer Packaged Goods, CPG, and Consumer Packaged Goods",
"locations": ["200 E. Randolph St. Suite 7600 Chicago, IL 60601, US"],
"slogan": "Let's make life delicious!",
}👉 此处仅显示关键字段。完整数据集请参阅 JSON 响应示例。
修改列表中的公司 URL 以提取数据:
companies = [
{"url": "https://il.linkedin.com/company/ibm"},
{"url": "https://www.linkedin.com/company/stalkit"},
{
"url": "https://www.linkedin.com/organization-guest/company/the-kraft-heinz-company"
},
{"url": "https://il.linkedin.com/company/bright-data"},
]👉 查看完整 Python 代码
从 LinkedIn 个人资料中检索详细信息。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
url |
字符串 | 是 | 要从中提取数据的 LinkedIn 个人资料 URL |
{
"name": "Richard Branson",
"profile_info": {
"position": "Founder at Virgin Group",
"followers": 18730516,
"connections": 2,
"avatar": "https://media.licdn.com/dms/image/v2/C4D03AQHh6_Wth5f3rQ/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1625181963183?e=2147483647&v=beta&t=oiGK2oBQ3r3COkRR0z62i7CbnqXKw_1ujZ9X4-SKheo",
},
"experience": [
{
"title": "Founder",
"company": "Virgin Group",
"duration": "Jan 1968 - Present (57 years)",
"description": "Tie-loathing adventurer and thrill seeker, who believes in turning ideas into reality. Otherwise known as Dr Yes at Virgin!",
}
],
"current_company": {"name": "Virgin Group", "title": "Founder at Virgin Group"},
"url": "https://www.linkedin.com/in/rbranson/",
}👉 此处仅显示关键字段。完整数据集请参阅 JSON 响应示例。
将 URL 替换为你想分析的 LinkedIn 个人资料。
profiles = [
{"url": "https://www.linkedin.com/in/williamhgates"},
{"url": "https://www.linkedin.com/in/rbranson/"},
{"url": "https://www.linkedin.com/in/justinwelsh/"},
{"url": "https://www.linkedin.com/in/simonsinek/"},
]👉 查看完整 Python 代码
使用姓名查询搜索 LinkedIn 个人资料。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
first_name |
字符串 | 是 | 名字 |
last_name |
字符串 | 是 | 姓氏 |
{
"profile_info": {
"id": "richard-branson-8a38866",
"name": "Richard Branson",
"location": {"city": "Cincinnati", "state": "Ohio", "country": "US"},
"about": "Respiratory therapist with 40 years of experience. Over 300 peer-reviewed publications...",
"metrics": {"followers": 868, "connections": 500, "recommendations": 1},
},
"professional": {
"current_position": {
"company": "University of Cincinnati",
"company_link": "https://www.linkedin.com/school/university-of-cincinnati",
},
"education": {
"school": "The George Washington University School of Medicine and Health Sciences",
"years": "2001-2003",
},
},
"recommendations": [
"Tracy OConnell Well known pro active valuable assett to the professon of respiratory care."
],
"similar_professionals": [
{
"name": "Walter J. Jones, PhD, MHSA",
"title": "Professor at Medical University of South Carolina",
"location": "Mount Pleasant, SC",
},
{
"name": "Vincent Arlet",
"title": "Professor of Orthopaedic Surgery",
"location": "Philadelphia, PA",
},
],
"url": "https://www.linkedin.com/in/richard-branson-8a38866",
}👉 查看完整 JSON 响应示例
修改名字和姓氏字段以查找个人资料。
people = [
{"first_name": "Richard", "last_name": "Branson"},
{"first_name": "Bill", "last_name": "Gates"},
]👉 查看完整 Python 代码
采集特定 LinkedIn 帖子的详细信息。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
url |
字符串 | 是 | LinkedIn 帖子 URL |
{
"post_info": {
"id": "7176601589682434049",
"url": "https://www.linkedin.com/posts/karin-dodis_web-data-collection-for-businesses-bright-activity-7176601589682434049-Aakz",
"date_posted": "2024-03-21T15:32:33.770Z",
"post_type": "post",
"engagement": {"num_likes": 12, "num_comments": 4},
},
"content": {
"title": "Karin Dodis on LinkedIn: Web data collection for Businesses. Bright Data",
"text": "Hey data enthusiasts, Bright Data has an awesome collection of free datasets waiting for you to dive into. Whether you're a seasoned analyst or just starting out, these datasets are a goldmine of potential for your projects. From Wikipedia to ESPN and beyond, there's something here for everyone. Use them to fuel your next big idea, hone your skills, and add some serious value to your resume",
},
"author": {
"user_id": "karin-dodis",
"profile_url": "https://il.linkedin.com/in/karin-dodis",
"followers": 4131,
"total_posts": 28,
},
"repost_info": {
"original_author": "Or Lenchner",
"original_author_id": "orlenchner",
"original_text": "Free Datasets! Not just samples, but complete datasets with millions of records. Before investing in acquiring specific large-scale data to train your LLM, start with free datasets. Wikipedia dataset, ESPN dataset, Goodreads, IMDB, and more.. Check it out -->",
"original_date": "2024-03-27T15:39:54.497Z",
"original_post_id": "7176470998987214848",
},
}👉 查看完整 JSON 响应示例
将 URL 替换为你想分析的 LinkedIn 帖子链接。
posts = [
{
"url": "https://www.linkedin.com/pulse/ab-test-optimisation-earlier-decisions-new-readout-de-b%C3%A9naz%C3%A9?trk=public_profile_article_view"
},
{
"url": "https://www.linkedin.com/posts/orlenchner_scrapecon-activity-7180537307521769472-oSYN?trk=public_profile"
},
{
"url": "https://www.linkedin.com/posts/karin-dodis_web-data-collection-for-businesses-bright-activity-7176601589682434049-Aakz?trk=public_profile"
},
{
"url": "https://www.linkedin.com/pulse/getting-value-out-sunburst-guillaume-de-b%C3%A9naz%C3%A9?trk=public_profile_article_view"
},
]👉 查看完整 Python 代码
查找由用户撰写或互动过的 LinkedIn 文章的详细数据。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
url |
字符串 | 是 | LinkedIn 作者/文章 URL |
limit |
数字 | 否 | 要检索的最大文章数量 |
{
"article_info": {
"id": "fare-business-con-la-propria-identità-cristian-brunori",
"url": "https://it.linkedin.com/pulse/fare-business-con-la-propria-identità-cristian-brunori",
"title": "Fare Business con la propria Identità",
"date_posted": "2017-03-01T17:27:26.000Z",
"post_type": "article",
"engagement": {"num_likes": 18, "num_comments": 0},
},
"author": {
"user_id": "cristianbrunori",
"profile_url": "https://it.linkedin.com/in/cristianbrunori",
"followers": 5205,
},
"content": {
"headline": "Quali sono i fattori che permettono ad un prodotto, ad un servizio e ad un'azienda di distinguersi nei nuovi scenari di mercato dove quasi tutto è tecnicamente e facilmente riproducibile? Mai come in questo momento storico, l'identità di Marca è un valore imprescindibile per tutelare il proprio lavo",
"text": "Quali sono i fattori che permettono ad un prodotto, ad un servizio e ad un'azienda di distinguersi nei nuovi scenari di mercato dove quasi tutto è tecnicamente e facilmente riproducibile? Mai come in questo momento storico, l' identità di Marca è un valore imprescindibile per tutelare il proprio lavoro e per aprire nuovi scenari economici ideali per la propria attività...",
},
"related_articles": [
{
"headline": "La differenza tra Marketing e Branding",
"date_posted": "2017-06-29T00:00:00.000Z",
},
{
"headline": "Ecco perché un contenuto diventa virale",
"date_posted": "2017-03-24T00:00:00.000Z",
},
],
}👉 查看完整 JSON 响应示例
更新 url 和 limit 字段,以检索特定 LinkedIn 个人资料中的文章。
authors = [
{
"url": "https://www.linkedin.com/today/author/cristianbrunori?trk=public_post_follow-articles",
"limit": 50,
},
{
"url": "https://www.linkedin.com/today/author/stevenouri?trk=public_post_follow-articles"
},
]👉 查看完整 Python 代码
查找由特定 LinkedIn 个人资料发布或互动过的所有帖子。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
url |
字符串 | 是 | LinkedIn 个人资料 URL |
start_date |
日期 | 否 | 筛选帖子的开始日期(ISO 8601 格式) |
end_date |
日期 | 否 | 筛选帖子的结束日期(ISO 8601 格式) |
{
"article_info": {
"id": "fare-business-con-la-propria-identità-cristian-brunori",
"url": "https://it.linkedin.com/pulse/fare-business-con-la-propria-identità-cristian-brunori",
"title": "Fare Business con la propria Identità",
"date_posted": "2017-03-01T17:27:26.000Z",
"post_type": "article",
"engagement": {"num_likes": 18, "num_comments": 0},
},
"author": {
"user_id": "cristianbrunori",
"profile_url": "https://it.linkedin.com/in/cristianbrunori",
"followers": 5205,
},
"content": {
"headline": "Quali sono i fattori che permettono ad un prodotto, ad un servizio e ad un'azienda di distinguersi nei nuovi scenari di mercato dove quasi tutto è tecnicamente e facilmente riproducibile? Mai come in questo momento storico, l'identità di Marca è un valore imprescindibile per tutelare il proprio lavo",
"text": "Quali sono i fattori che permettono ad un prodotto, ad un servizio e ad un'azienda di distinguersi nei nuovi scenari di mercato dove quasi tutto è tecnicamente e facilmente riproducibile? Mai come in questo momento storico, l' identità di Marca è un valore imprescindibile per tutelare il proprio lavoro e per aprire nuovi scenari economici ideali per la propria attività...",
},
"related_articles": [
{
"headline": "La differenza tra Marketing e Branding",
"date_posted": "2017-06-29T00:00:00.000Z",
},
{
"headline": "Ecco perché un contenuto diventa virale",
"date_posted": "2017-03-24T00:00:00.000Z",
},
],
}👉 查看完整 JSON 响应示例
修改个人资料 URL 和日期范围,以采集特定 LinkedIn 个人资料中的帖子。
profiles = [
{
"url": "https://www.linkedin.com/in/luca-rossi-0aa497bb",
"start_date": "2024-10-01T00:00:00.000Z",
"end_date": "2024-10-09T00:00:00.000Z",
},
{
"url": "https://www.linkedin.com/in/srijith-gomattam-401059214",
"start_date": "2024-09-01T00:00:00.000Z",
"end_date": "2024-10-01T00:00:00.000Z",
},
{
"url": "https://www.linkedin.com/in/anna-clarke-0a342513",
"start_date": "2024-10-01T00:00:00.000Z",
},
]👉 查看完整 Python 代码
采集公司页面中的帖子和动态。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
url |
字符串 | 是 | LinkedIn 公司 URL |
start_date |
日期 | 否 | 筛选帖子的开始日期(ISO 8601 格式) |
end_date |
日期 | 否 | 筛选帖子的结束日期(ISO 8601 格式) |
{
"post_info": {
"id": "7254476883906482179",
"url": "https://it.linkedin.com/posts/lanieri_lanieri-torna-in-lussemburgo-siamo-lieti-activity-7254476883906482179-8dW8",
"date_posted": "2024-10-22T13:01:10.754Z",
"post_type": "post",
},
"content": {
"title": "Lanieri on LinkedIn: Lanieri torna in Lussemburgo. Siamo lieti di annunciare che dal 7 al 9…",
"text": "Lanieri torna in Lussemburgo. Siamo lieti di annunciare che dal 7 al 9 novembre il nostro Trunk Show Su Misura fa tappa in Lussemburgo. Crea il tuo pezzo unico insieme ai nostri Style Advisor: scegli il tessuto, i dettagli e la vestibilità del tuo capo: noi lo realizzeremo per te in sole quattro settimane. Ci vediamo all'Hotel Le Royal, Boulevard Royal 12. Prenota il tuo appuntamento qui https://bit.ly/4hgYgyk",
"images": [
"https://media.licdn.com/dms/image/v2/D4D22AQHbmc9Vn-NP5Q/feedshare-shrink_2048_1536/feedshare-shrink_2048_1536/0/1729602070140?e=2147483647&v=beta&t=gt-rNjUJR_ZMVDjNfwmtx3mwBpR3UjCdtVjoj2ZsAv0"
],
},
"engagement": {"likes": 12, "comments": 0},
"company_info": {
"name": "Lanieri",
"followers": 5768,
"account_type": "Organization",
"profile_url": "https://it.linkedin.com/company/lanieri",
},
}👉 查看完整 JSON 响应示例
自定义公司 URL 和日期范围,以检索特定公司页面中的帖子。
companies = [
{"url": "https://www.linkedin.com/company/green-philly"},
{"url": "https://www.linkedin.com/company/lanieri"},
{"url": "https://www.linkedin.com/company/effortel"},
]👉 查看完整 Python 代码
使用职位 URL 提取特定职位列表的完整信息。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
url |
字符串 | 是 | LinkedIn 职位列表 URL |
{
"job_info": {
"id": "4073552631",
"title": "Data Platform Engineer",
"location": "Tel Aviv-Yafo, Tel Aviv District, Israel",
"posted_date": "2024-11-22T09:41:10.107Z",
"posted_time": "1 month ago",
"employment_type": "Full-time",
"function": "Engineering and Information Technology",
"seniority_level": "Not Applicable",
"industries": "Computer and Network Security",
"applicants": 85,
"apply_link": "https://www.linkedin.com/jobs/view/externalApply/4073552631?url=https%3A%2F%2Fcycode%2Ecom%2Fcareers%2Fposition%2F%3Fpos_title%3Ddata-platform-engineer%26pos_id%3D53%2ED48%26coref%3D1%2E11%2Ep9D_4217&urlHash=c1hm",
},
"company": {
"name": "Cycode | Complete ASPM",
"id": "40789623",
"logo": "https://media.licdn.com/dms/image/v2/D4D0BAQFsSsfzqEVWtw/company-logo_100_100/company-logo_100_100/0/1689682315729/cycode_logo?e=2147483647&v=beta&t=h91f6XM-5MGHa5FDhMCVtXy7Me0S8YQIPRAYUc4UVC0",
"url": "https://www.linkedin.com/company/cycode",
},
"description": {
"summary": "This is a unique opportunity to join an exciting early-stage startup experiencing hypergrowth in a white-hot segment of the cybersecurity space. Cycode is a fast-growing cybersecurity startup and the creator of the first comprehensive software supply chain security solution...",
"requirements": [
"Bachelor's degree in a relevant field such as Statistics, Mathematics, Computer Science, or Economics",
"Proven experience in building, deploying, and monitoring of ETLs",
"Proficiency in data analysis tools such as SQL, Python, Pandas, Apache Spark / Beam",
"Good understanding of data modeling principles",
"Familiarity with data visualization tools",
],
"advantages": ["MongoDB", "AWS Cloud", "CICD, Docker Kubernetes"],
},
}👉 查看完整 JSON 响应示例
更新职位 URL,以采集特定职位列表的信息。
job_searches = [
{"url": "https://www.linkedin.com/jobs/view/4073552631"},
{"url": "https://www.linkedin.com/jobs/view/4073729630"},
]👉 查看完整 Python 代码
使用高级搜索条件和筛选器提取职位列表,以查找相关机会。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
location |
字符串 | 是 | 采集特定地点的职位 |
keyword |
字符串 | 否 | 按关键词或职位名称搜索职位(例如“产品经理”)。使用引号进行精确匹配。 |
country |
字符串 | 否 | 双字母国家/地区代码(例如 US 或 FR) |
time_range |
字符串 | 否 | 职位发布时间范围(例如过去 24 小时、过去一周) |
job_type |
字符串 | 否 | 按职位类型筛选(例如全职、兼职、合同工) |
experience_level |
字符串 | 否 | 按要求的经验级别筛选(例如初级、中级、高级) |
remote |
字符串 | 否 | 按远程办公选项筛选职位 |
company |
字符串 | 否 | 搜索特定公司的职位 |
selective_search |
布尔值 | 否 | 设置为 true 时,排除标题中不包含指定关键词的职位 |
{
"job_info": {
"id": "4096670538",
"title": "Remote Part-Time Focus Group Participants (Up To $750/Week)",
"posted_date": "2024-12-15T09:16:55.932Z",
"posted_time": "1 week ago",
"location": {"city": "Bronx", "state": "NY", "country": "US"},
"type": {
"employment": "Part-time",
"level": "Entry level",
"function": "Other",
"industry": "Market Research",
"remote": true,
},
"applicants": 25,
"apply_link": "https://www.linkedin.com/jobs/view/externalApply/4096670538?url=https%3A%2F%2Fwww%2Ecollegerecruiter%2Ecom%2Fjob%2F1447234465%3Fr%3D1%26source%3D101%26ids%3D513&urlHash=Nagt",
},
"company": {
"name": "Apex Focus Group",
"id": "89885194",
"logo": "https://media.licdn.com/dms/image/v2/C560BAQHmbh3iXrrrEA/company-logo_100_100/company-logo_100_100/0/1670524954585?e=2147483647&v=beta&t=n2mnVpQTNpofk7mrixyy7aBax0fXqhY031fijCPtp14",
"url": "https://www.linkedin.com/company/apex-focus-group",
},
"compensation": {
"per_session": "$75-$150 (1 hour)",
"multi_session": "$300-$750",
"frequency": "weekly",
},
"requirements": {
"technical": [
"Smartphone with working camera or desktop/laptop with webcam",
"High speed internet connection",
],
"responsibilities": [
"Show up 10 mins before discussion start time",
"Complete written and oral instructions",
"Complete surveys for each panel",
"Use and discuss provided products/services",
],
},
"search_parameters": {
"keyword": "data analyst",
"location": "New York",
"job_type": "Part-time",
"experience": "Entry level",
"remote": "Remote",
"country": "US",
},
}👉 查看完整 JSON 响应示例
自定义这些搜索条件,以查找不同地点和要求下的特定职位机会。
search_criteria = [
{
"location": "New York",
"keyword": "data analyst",
"country": "US",
"time_range": "Any time",
"job_type": "Part-time",
"experience_level": "Entry level",
"remote": "Remote",
"company": "",
},
{
"location": "paris",
"keyword": "product manager",
"country": "FR",
"time_range": "Past month",
"job_type": "Full-time",
"experience_level": "Internship",
"remote": "On-site",
"company": "",
},
{
"location": "New York",
"keyword": '"python developer"',
"country": "",
"time_range": "",
"job_type": "",
"experience_level": "",
"remote": "",
"company": "",
},
]👉 查看完整 Python 代码
使用 LinkedIn 直接搜索 URL 提取职位列表
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
url |
字符串 | 是 | LinkedIn 直接搜索 URL(例如公司搜索或基于关键词的搜索) |
selective_search |
布尔值 | 否 | 设置为 true 时,排除标题中不包含指定关键词的职位 |
注意:要实现时间范围筛选,请以秒为单位计算所需范围(
hours * 3600),并更新 LinkedIn 搜索 URL 中的&f_TPR参数。
- 使用
f_TPR=r3600表示过去一小时- 使用
f_TPR=r86400表示过去 24 小时- 使用
f_TPR=r604800表示过去一周
{
"job_info": {
"id": "4107998267",
"title": "Software Engineer, Professional Services",
"location": "Tel Aviv District, Israel",
"posted": {"date": "2024-12-22T08:39:21.666Z", "time_ago": "1 hour ago"},
"type": {
"employment": "Full-time",
"level": "Entry level",
"function": "Information Technology",
"industry": "Software Development",
},
"applicants": 25,
"apply_link": "https://www.linkedin.com/jobs/view/externalApply/4107998267?url=https%3A%2F%2Fwww%2Efireblocks%2Ecom%2Fcareers%2Fcurrent-openings%2F4426623006%3Fgh_jid%3D4426623006",
},
"company": {
"name": "Fireblocks",
"id": "14824547",
"logo": "https://media.licdn.com/dms/image/v2/C4D0BAQEyT6gpuwTpPg/company-logo_100_100/company-logo_100_100/0/1630561416766/fireblocks_logo?e=2147483647&v=beta&t=MNcf2cPIzbPMdPDbsidFZBlEVWQHcHK-QimzqSaimww",
"url": "https://www.linkedin.com/company/fireblocks",
},
"requirements": {
"core": [
"2+ years of software development experience",
"Proficiency in JavaScript, TypeScript, and Python",
"Strong understanding of frontend and backend technologies",
"Experience with SQL and NoSQL databases",
"Familiarity with Docker and Kubernetes",
"Knowledge of blockchain and crypto development",
"Understanding of security protocols",
],
"nice_to_have": [
"Experience with Fireblocks or similar crypto platforms",
"Knowledge of cloud platforms (AWS, GCP, Azure)",
],
},
"responsibilities": [
"Collaborate with clients on technical requirements",
"Build custom tools and integrations",
"Work on frontend and backend components",
"Assist with API integration",
"Provide technical training",
"Stay updated on blockchain trends",
],
}👉 查看完整 JSON 响应示例
修改这些搜索 URL,以从特定公司或搜索结果中采集职位列表。
search_urls[
{
"url": "https://www.linkedin.com/jobs/search?keywords=Software&location=Tel%20Aviv-Yafo&geoId=101570771&trk=public_jobs_jobs-search-bar_search-submit&position=1&pageNum=0&f_TPR=r3600"
},
{"url": "https://www.linkedin.com/jobs/semrush-jobs?f_C=2821922"},
{"url": "https://www.linkedin.com/jobs/reddit-inc.-jobs-worldwide?f_C=150573"},
]👉 查看完整 Python 代码
你可以使用以下参数微调结果:
| 参数 | 类型 | 说明 | 示例 |
|---|---|---|---|
limit |
integer |
每项输入的最大结果数 | limit=10 |
include_errors |
boolean |
获取用于问题排查的错误报告 | include_errors=true |
notify |
url |
用于在完成时接收通知的 Webhook URL | notify=https://notify-me.com/ |
format |
enum |
输出格式(例如 JSON、NDJSON、JSONL、CSV) | format=json |
💡 专业提示:你还可以选择将数据传送到外部存储或传送到 Webhook。
需要更多详细信息?请查看官方 API 文档。











