Code Monkey home page Code Monkey logo

Comments (4)

thib66 avatar thib66 commented on September 26, 2024

Hello,
perhaps you have a redirection from pinterest.com to the pinterest website of your country.
In the file Pinterest.py of the library I had to change :
driver.get("https://pinterest.com/login") by driver.get("https://pinterest.fr/login")
and driver.find_elements_by_xpath("//[contains(text(), 'Log in')]") by driver.find_elements_by_xpath("//[contains(text(), 'Se connecter')]")
May you check if the file related to cookies is correctly generated in the folder cred_root?

In my script I also call directly pinterest.login().

Thanks in advance for the answer,
Regards

from py3-pinterest.

bstoilov avatar bstoilov commented on September 26, 2024

Closing due to inactivity

from py3-pinterest.

victorviro avatar victorviro commented on September 26, 2024

I get this error when performing some actions like repin, unfollow, get followers/following of user... For other actions like get user overview or get boards of user it works correctly. Tested with different accounts. The file related to cookies is correctly generated. Version of py3-pinterest 1.3.0

from py3-pinterest.

Carnagency avatar Carnagency commented on September 26, 2024

I have tried a lot of the things that were discussed in all the different conversations of the repositery.

I was really hopeless and I found that it was simply due to me living in a non-english country so I just had to change the settings of my pinterest account and put US in country and american english in language.

Check this link out :

https://docs.contentstudio.io/article/497-pinterest-post-failed-to-publish#:~:text=Authorization%20Problem%3A%20If%20you%20are,the%20account%20to%20the%20English.

Hope this will help some fellow coders !

from py3-pinterest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.