Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The pinterest scraper doesn't work. #10

Open
meatloaf4u opened this issue Jul 6, 2022 · 2 comments
Open

The pinterest scraper doesn't work. #10

meatloaf4u opened this issue Jul 6, 2022 · 2 comments

Comments

@meatloaf4u
Copy link

it returns:
'country'
None

@meatloaf4u
Copy link
Author

I thought the problem was the url.. because the twitter crawler works and in pinterest.py there is a wired thing about url. I tried to change that to:
return "https://www.pinterest.com/{}/".format(username)
I get this:
Error Expecting value: line 1 column 1 (char 0)
Also Pinterest.py does not accept browser name like twitter.py.
I try to learn, Sorry for my basic questions.
Thanks in advance.

@shaikhsajid1111
Copy link
Owner

shaikhsajid1111 commented Jul 6, 2022

Alright I will check this issue.

Pinterest script is using simple Pinterest's API unlike other script which uses browser automation. This script just makes a HTTP GET request to Pinterest's API and provides you with data after getting a response. That URL won't work, No Problem at all, I will look into this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants