Mar 17

Make a list of price URL’s

Here’s the job.

First go to this page: [sitemap]

Scroll down, or use Ctrl+F to find “Mclean homes priced between $100,000 to $200,000”. Below that you’ll see 4 links:

Open those links in another tab.

Scroll down on the page and you’ll find a link that looks like this:

Sorry, but we couldn’t find any results in the MLS that match the specified search criteria.

We’ll call that a Type A.  The second type, which we’ll call Type B, looks like this:

See all in Mclean VA from $175,000 to $200,000.

Final product

From these pages and links you’re going to make a list that looks like this:

#
~ http://nesbittrealty.com/idx/104370–in-mclean-va-from-100-000-to-125-000/ + Mclean homes priced between $100,000 to $125,000 @
~ http://nesbittrealty.com/idx/104371–in-mclean-va-from-125-000-to-150-000/ + Mclean homes priced between $125,000 to $150,000 @
~ http://nesbittrealty.com/idx/104373–in-mclean-va-from-150-000-to-175-000/ + Mclean homes priced between $150,000 to $175,000 @
~ http://nesbittrealty.com/idx/104374–in-mclean-va-from-175-000-to-200-000/ + Mclean homes priced between $175,000 to $200,000 @
*

Here’s how you do it.

Start by copying the list into Notepad

Copy four links from the sitemap into Notepad to make a list like this:

Mclean homes priced between $100,000 to $125,000
Mclean homes priced between $125,000 to $150,000
Mclean homes priced between $150,000 to $175,000
Mclean homes priced between $175,000 to $200,000

Then put a + before the title and a @ after to end up with this:

+ Mclean homes priced between $100,000 to $125,000 @
+ Mclean homes priced between $125,000 to $150,000 @
+ Mclean homes priced between $150,000 to $175,000 @
+ Mclean homes priced between $175,000 to $200,000 @

Now add the links

Let’s start with Type B, because that is the most common.  Scroll down on the destination page until you see a link to the homes sorted by a specific price range. Right click on the link and then click “copy link location”.  Then paste the link to get something that looks like this:

http://nesbittrealty.com/idx/104374–in-mclean-va-from-175-000-to-200-000/?idx-d-SortOrders%3C0%3E-Column=DateAdded&idx-d-SortOrders%3C0%3E-Direction=DESC

Delete the part from the question mark (“?”)  to the DESC so that you end up with something that looks like this:

http://nesbittrealty.com/idx/104374–in-mclean-va-from-175-000-to-200-000/

That’s your link. Put a ~ before it and a + after it. When that’s added to your list it will look like this:

+ Mclean homes priced between $100,000 to $125,000 @
+ Mclean homes priced between $125,000 to $150,000 @
+ Mclean homes priced between $150,000 to $175,000 @
~ http://nesbittrealty.com/idx/104374–in-mclean-va-from-175-000-to-200-000/ + Mclean homes priced between $175,000 to $200,000 @

To do the type A link, copy a type B link onto all of the Type A links so you end up with something that looks like this:

~ http://nesbittrealty.com/idx/104374–in-mclean-va-from-175-000-to-200-000/ + Mclean homes priced between $100,000 to $125,000 @
~ http://nesbittrealty.com/idx/104374–in-mclean-va-from-175-000-to-200-000/ + Mclean homes priced between $125,000 to $150,000 @
~ http://nesbittrealty.com/idx/104374–in-mclean-va-from-175-000-to-200-000/ + Mclean homes priced between $150,000 to $175,000 @
~ http://nesbittrealty.com/idx/104374–in-mclean-va-from-175-000-to-200-000/ + Mclean homes priced between $175,000 to $200,000 @

Then change the numbers to match the link, like so:

~ http://nesbittrealty.com/idx/104374–in-mclean-va-from-100-000-to-125-000/ + Mclean homes priced between $100,000 to $125,000 @
~ http://nesbittrealty.com/idx/104374–in-mclean-va-from-125-000-to-150-000/ + Mclean homes priced between $125,000 to $150,000 @
~ http://nesbittrealty.com/idx/104374–in-mclean-va-from-150-000-to-175-000/ + Mclean homes priced between $150,000 to $175,000 @
~ http://nesbittrealty.com/idx/104374–in-mclean-va-from-175-000-to-200-000/ + Mclean homes priced between $175,000 to $200,000 @

Each link has a “link ID” number that is found after the /idx/ in the link. In the case of 175k to 200k in Mclean that link ID number is 104374. Back on the website, click on “Edit this Page”. Scroll down and find text that says: [idx-listings linkid="104370"]. Copy the appropriate number to the list to get a list like this:

~ http://nesbittrealty.com/idx/104370–in-mclean-va-from-100-000-to-125-000/ + Mclean homes priced between $100,000 to $125,000 @
~ http://nesbittrealty.com/idx/104371–in-mclean-va-from-125-000-to-150-000/ + Mclean homes priced between $125,000 to $150,000 @
~ http://nesbittrealty.com/idx/104373–in-mclean-va-from-150-000-to-175-000/ + Mclean homes priced between $150,000 to $175,000 @
~ http://nesbittrealty.com/idx/104374–in-mclean-va-from-175-000-to-200-000/ + Mclean homes priced between $175,000 to $200,000 @

Finishing Touches

Now put a # before the start of the list and an * at the end of the list to get this:

#
~ http://nesbittrealty.com/idx/104370–in-mclean-va-from-100-000-to-125-000/ + Mclean homes priced between $100,000 to $125,000 @
~ http://nesbittrealty.com/idx/104371–in-mclean-va-from-125-000-to-150-000/ + Mclean homes priced between $125,000 to $150,000 @
~ http://nesbittrealty.com/idx/104373–in-mclean-va-from-150-000-to-175-000/ + Mclean homes priced between $150,000 to $175,000 @
~ http://nesbittrealty.com/idx/104374–in-mclean-va-from-175-000-to-200-000/ + Mclean homes priced between $175,000 to $200,000 @
*

Now save your text file with the name: price-mclean-100-200.php.

Continue until all links are finished

Do the next for in the same way except name the file: price-mclean-200-300.php. When you reach the millions the format is like this

price-mclean-900-1M.php for $900,000 to $1,000,000, and
price-mclean-1M2-1M3.php for 1,200,000 to 1,300,000.

Save each group of 4 links in a separate file. Save all files to a Dropbox and then give me a link to the Dropbox.

Leave a Reply

Your email address will not be published.