How To Scrape Pinterest Profile Pages & Website URL

Scrape Pinterest User Websites

So this one took me while to figure out, but I have worked out how you can scrape user profiles for any given niche and also grab their website address if they have on.

You will first need some key words for your niche. I will assume you know how this is done. No w you will need to add an operator search phrase to start of each keyword.

All you will need to do is create a merge txt file with the following text in it.

inurl:pinterest.com/*/

Or you can just download this pre-made one

Now you will need to merge the file contents with the keywords in Scrapebox. Please make sure that you have the custom footprint selected before you start harvesting.

With your keywords now prefixed with the operator search phrase you can begin harvesting. You will notice that you will only get between 6-10 results for Pinterest user boards for every keyword. Don’t worry about this, you are about to get a whole lot more with the next step. And afterwards trim them down to just the user.

Now you will have to load the Link Extractor addon in Scrapebox. If you don’t have it, you can easily download it for free from the add-ons tab and hit ‘Show Available Addons’.

Before you import your harvested profile URLs, you need to input some setting to prevent extracting non-relevant links. In the settings tab from the link extractor add the following lines

/pin/
/ideas/
/topics/

I normally run this a 10 connections at once, but you may need to adjust this depending on how big your list is.

You can now expect to get about 100 results for every URL. If you wan to really expand your list, you can run the new results through the Link Extractor again. However, the more you do this the more that you will dilute your niche. Before you move on from here, it is a good idea to remove duplicate URLs in Scrapebox.

So, by now you should have a long list of Pinterest User Boards. Now we need to trim the URLs down to the User level. The best way to do this is with Notepad++, this is a free notepad software that has extra functionality. If you don’t already have it installed, go to https://notepad-plus-plus.org/downloads/ and install the latest version.

All you need to do now is to open your list in Notepad++ and press Ctrl H. This will popup a window with some replace functions. For this section we are going to use Regular Expression aka Regex to find and trim the URLs down to the user level. Now just paste the following Regex into the ‘Find what’ search box.

/([^/.]+)/$

Leave the ‘Replace with’ part blank. Now hit ‘Replace All’ and all of the URL’s have been trimmed down to the Pinterest User level.

Great!, now you have your own list of Pinterest users for a specific niche. Now it’s time to scrape for those homepage URLs.

For this to work, we need to assume that the users homepage itself has a link back to their Pinterest profile and is indexed by Google. If this is the case, all you need to do is enter the following keyword into Scrapebox and use your scraped Pinterest user URLs as a merge file.

-"pinterest.*"

Just use Google as your harvester engine and you will usually only ever get results to the Pinterest’s users homepage.

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here