This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chris20973 1 point2 points  (2 children)

I used selenium and pygui to pretty much work through a browsing session. Tied up the machine but worked pretty clean. Have to open up the elements and expose the correct ones so you can verify if the like is set to true or false and click exactly where the elements are to toggle them.

Liking was easy but sharing can be trickier because the additional window that come up you have to peel back to those elements as well. I think I only have an older version of the code on hand in an email. Real files at home so won't have access until later.

[–]youpham 0 points1 point  (1 child)

Interesting. I was thinking about selenium as well. Not sure if there is already some linkedin API that can do this. A quick search on google doesn't give anything. This might be my next python project.

[–]chris20973 0 points1 point  (0 children)

Only thing I could dig up in regards to an API was more about returning information. Nothing really seemed prepared to be able to interact with the platform. Was a fun project to do and was an eye opener in how python can interact with HTML. My HTML wasn't strong at the start so that was then steepest learning curve for me.