简体   繁体   English

从庞大的数据集中获取无效的 Linkedin 个人资料网址

[英]Getting invalid Linkedin profile url from a huge dataset

So I have a list of LinkedIn profile urls and I am trying to fetch profile which are invalid "ERROR(404)" using python所以我有一个LinkedIn个人资料网址列表,我正在尝试使用python获取无效的“错误(404)”个人资料

Tried python request but it results status code 999 for valid profiles also.尝试了 python 请求,但它也会导致有效配置文件的状态代码 999。

Is there any different approach to handle this ?有什么不同的方法来处理这个吗?

Code 999 is returned for websites that doesn't allow scanning (including LinkedIn).对于不允许扫描的网站(包括 LinkedIn),将返回代码 999。 Source: https://hexometer.com/http-status-codes/#:~:text=Status%20code%20999%20%2D%20a%20non,which%20do%20not%20permit%20scanning .来源: https ://hexometer.com/http-status-codes/#:~:text=Status%20code%20999%20%2D%20a%20non,which%20do%20not%20permit%20scanning。

Try checking LinkedIn API to find if there's something that might achieve what you're looking for: https://docs.microsoft.com/en-us/linkedin/shared/api-guide/concepts/methods?view=li-lms-2022-07尝试检查 LinkedIn API 以查找是否有可能实现您正在寻找的东西: https ://docs.microsoft.com/en-us/linkedin/shared/api-guide/concepts/methods?view=li-lms -2022-07

Otherwise, if you just want to validate the url, there's a thread about a PHP solution: How to validate a LinkedIn public profile url否则,如果您只想验证 url,有一个关于 PHP 解决方案的线程: How to validate a LinkedIn public profile url

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM