|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Script for url extraction from url list
I've been looking for a script that will take my url list and extract a certain type of url from the list and put it into another list.
Let's say that I had a list of url's that I would put in notepad or MS Excel like this: dogtaining.com/dogfood/order beagleobedience.com/beagle.care/products.html dogtraining.com catfancy.com/reviewcatbook/bestcatbook.html kittenbookreview.net cattoysforkittens.info/whatdocatslike/toy.html This script should take all original domains with no subdomains out of this list and put them into another notepad/excel document. So in the case above, dogtraining.com kittenbookreview.net would be removed from the original list and then put into a new list. This is a very simple script but I'm having problems locating anything like it. Does anyone know where I can find this type of script? Using windows. thanks |
|
#2
|
|||
|
|||
|
Using excel?
Hi glasshalffull,
What language/method were you planning on using to sort the URLs? You mention that you may have the list in Excel, so are you intending on using an Excel macro (VBScript) to sort them for you. As you say, the script is very simple so perhaps it would be something you could write yourself? I dont think it would be too much effort as you would be using simple string-handling commands in VBscript, and you can either ask the highly skilled members of this forum to help when you get stuck, or contact me directly on MSN/email at: diamondgeezer80 [ at ] hotmail.com and I will talk about your code with you and get you started. Good luck with whatever method you choose, Paul / Porky |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Script for url extraction from url list |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|