how2 extract only domain names from a list of URLs automatically???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GoldenSpider
    Confirmed User
    • Feb 2003
    • 347

    #1

    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
    Confirmed User
    • Feb 2004
    • 3980

    #2
    replace all in notepad.

    Brothels and Escorts Worldwide.

    Comment

    • AVM
      Confirmed User
      • Feb 2004
      • 1890

      #3
      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.

      Comment

      • Lee
        Confirmed User
        • Aug 2002
        • 2977

        #4
        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.

        Comment

        • StuartD
          Sofa King Band
          • Jul 2002
          • 29903

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

          http://www.sponsorslist.com/getdomains.php
          This is me on facebook
          This is me on twitter

          Comment

          • devilspost
            Confirmed User
            • Feb 2004
            • 3980

            #6
            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 ?

            Brothels and Escorts Worldwide.

            Comment

            • psili
              Confirmed User
              • Apr 2003
              • 5526

              #7
              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.
              Your post count means nothing.

              Comment

              • DEA - banned for life
                V.I.P.
                • Nov 2004
                • 7886

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

                Comment

                • Trixxxia
                  Confirmed User
                  • Aug 2004
                  • 5600

                  #9
                  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.
                  Last edited by Trixxxia; 01-20-2005, 05:30 AM.

                  Comment

                  Working...