shaikhsajid1111 / social-media-profile-scrapers

Fetch user's data across social media
Apache License 2.0
448 stars 77 forks source link

The pinterest scraper doesn't work. #10

Open meatloaf4u opened 2 years ago

meatloaf4u commented 2 years ago

it returns: 'country' None

meatloaf4u commented 2 years ago

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 commented 2 years ago

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 :)