Accessing LinkedIn public pages using Python

后端 未结 1 1682
北恋
北恋 2021-01-18 01:16

I want to access my publicly available LinkedIn page. On my local machine, following code works:

import requests
url = \"http://de.linkedin.com/pub/ankush-sh         


        
1条回答
  •  抹茶落季
    2021-01-18 01:38

    As mention here, LinkedIn do not allow direct access. They have blacklisted Heroku's IP address and the only way to access the data is to use their APIs.

    0 讨论(0)
提交回复
热议问题