GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   how2 extract only domain names from a list of URLs automatically??? (https://gfy.com/showthread.php?t=419390)

GoldenSpider 01-20-2005 03:55 AM

how2 extract only domain names from a list of URLs automatically???
 
I need a code or just a method to that.

I.E.

URLs List:
http://www.fdh.com/fsdas.htm
http://cxzb.net/bgy5.htm
http://www.cvxzn.info/467.htm

extracted domain names:
fdh.com
cxzb.net
cvxzn.info

thanx very much for advise me!

devilspost 01-20-2005 05:02 AM

replace all in notepad.

AVM 01-20-2005 05:45 AM

You need a domain scrapper. When I have bulk lists of domains, with bullshit registration dates/etc interfering, I just toss it in a domain scrapper and shit spits back the domains minus the junk. Mine is custom programmed, on my comp. But they've some server side scripts. Just search around.

Lee 01-20-2005 05:56 AM

Doesnt Brujah have a site that has a tool that sifts lists? Im pretty sure he used to if not.

Sorry but I cant remember the name of it right now but if you look him up on here you may find some info.

StuartD 01-20-2005 06:13 AM

Here, just made this... give it a try.

http://www.sponsorslist.com/getdomains.php

devilspost 01-20-2005 06:15 AM

Quote:

Originally Posted by Lee
Doesnt Brujah have a site that has a tool that sifts lists? Im pretty sure he used to if not.

Sorry but I cant remember the name of it right now but if you look him up on here you may find some info.

www.clickmojo.com ?

psili 01-20-2005 06:41 AM

Forgive me because I'm lazy and it's pretty early in the morning but just get a nice HTML / text editor and do find and replace with a regular expression turned on (even Dreamweaver has the regex feature).

Find:

.*\.(([a-zA-Z0-9]|_|-)+\.(com|net|org|etc)).*

Replace:

$1


And i'm sure someone can beautify my ugly ass regex above. Cuz it's pretty ugly and hasn't been tested.

DEA - banned for life 01-20-2005 07:20 AM

try this code : 5%.yrt=43.9/todo(ou812) :thumbsup should work

Trixxxia 01-20-2005 07:28 AM

Put your entire list in notepad - put a tab at the bottom and copy just the tab.
Do a replace- http:// with http://TAB
then do a replace- .com/ with .com/TAB
then do a replace- .net/ with .net/TAB
then do a replace- .info/ with .info/TAB
then copy your page and paste in Excel and your domains will in a seperate column than the rest of the url.


All times are GMT -7. The time now is 10:52 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123