stanvanrooy / linkauto Goto Github PK
View Code? Open in Web Editor NEWSimple to use wrapper around the private LinkedIn API, written in async Python.
License: MIT License
Simple to use wrapper around the private LinkedIn API, written in async Python.
License: MIT License
Right now, most requests use a constant value for the x-li-page-instance
header. It should be suffixed with a random uuid as tracking id. The get_page_instance
function does this.
Howdy. Love the premise of this package. Having trouble using it - running into a ModuleNotFoundError.
I made sure that the required package versions matched.
Details:
D:>python
import linkauto
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'linkauto'
D:>pip list
Package Version
aiohttp 3.7.4.post0
...
async-timeout 3.0.1
attrs 20.3.0
...
chardet 4.0.0
...
idna 2.10
...
linkauto 0.0.1
...
multidict 5.1.0
...
orjson 3.6.4
...
typing-extensions 3.10.0.2
...
yarl 1.6.3
...
Thanks again for creating this, hope to get to play around with it.
Hey there!
I've been going through the source code to get an idea of how you're accessing the linkedin api directly, since I'm working on a linkedin automation (nodejs based) myself.
I was just wondering if you've got any idea of how safe this method is, i.e. would linkedin be able to tell, through network traffic analysis, that those requests were not made by their platform directly? I just want to avoid getting my account banned.
Thanks for putting this up for everyone to use, keep it up!
Hey again :)
I've been going through the source code and noticed, that the get_useragent function in linkauto/api/mixins/helper.py, line 22 is missing a closed bracket (bracket opens in front of "Linux", but never closes)
def get_useragent(self) -> str:
return f"{self.config.linkedin_app.appId}/{self.config.linkedin_app.clientMinorVersion} " \
f"(Linux; U; {self.config.device.androidVersion}; {self.config.device.region}; " \
f"{self.config.device.model}; Build/NMF26Q; Cronet/{self.config.device.cronetVersion}"
Is that on purpose or an error?
Is your feature request related to a problem? Please describe.
I'm always frustated when my profile picture doesn't show the current time. I need to be able to upload the current time every minute.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
'update_profile_picture(picture)'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.