Welcome Guest.   Make a donation to an author on the site October 23, 2014, 05:02:18 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2013! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: SOLVED: Extract url link from plain text files  (Read 6634 times)
Contro
Participant
*
Posts: 2,171

View Profile Give some DonationCredits to this forum member
« on: August 31, 2011, 12:47:48 PM »

Extract url link from plain text files

I would like a code to extract from the plain text files in a folder the valid url links to a new txt extension file .

In this case the plain text file may be a eml file or a txt file.

Best Regards

Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: August 31, 2011, 03:19:15 PM »

Contro, look at the example given here:  http://www.autohotkey.com...forum/post-7082.html#7082
Logged

Contro
Participant
*
Posts: 2,171

View Profile Give some DonationCredits to this forum member
« Reply #2 on: August 31, 2011, 03:20:17 PM »

Running

 Grin
Logged
Contro
Participant
*
Posts: 2,171

View Profile Give some DonationCredits to this forum member
« Reply #3 on: August 31, 2011, 03:44:17 PM »

Goes well for a single file. I would like a group of files.
Consider this result :

http://anuncio=
http://anuncios.ebay.es/post/9625510
http://anuncios.ebay.es/ayuda=
http://www.facebook.com/eb=
http://www.facebook.com/ebayanuncios
http://anuncios.ebay.es/ayuda/contacto/
http://anuncios.ebay.es/post=
http://anuncios.ebay.es/post/9625510
http://anuncios.ebay.es/ayuda/default/seguridad
http://www.f=
http://www.facebook.com
http://www.ebay=

Some url are not sure or seem trunked.

Best Regards

Logged
mouser
First Author
Administrator
*****
Posts: 33,581



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: August 31, 2011, 05:32:47 PM »

my urlsnooper will do this unless im missing something.
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: August 31, 2011, 11:10:18 PM »

Mouser, he wants to extract URLs from EML files.  They're plain-text email files.
Logged

mouser
First Author
Administrator
*****
Posts: 33,581



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: September 01, 2011, 03:51:14 AM »

UrlSnooper is quite happy to scan a directory of files for urls.
Logged
skwire
Global Moderator
*****
Posts: 4,114



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #7 on: September 01, 2011, 07:30:20 AM »

I didn't realise that URLSnooper would do that.  Very nice.   Thmbsup
Logged

panzer
Participant
*
Posts: 203

View Profile Give some DonationCredits to this forum member
« Reply #8 on: November 11, 2011, 03:12:23 AM »

I do not want to open a new threat so will ask my question here. How to delete the duplicate url links from txt files so, that the remaining links would stay in the same order as before (no sorting)?
Logged
joiwind
Participant
*
Posts: 480


carpe momentum

View Profile Give some DonationCredits to this forum member
« Reply #9 on: November 11, 2011, 03:24:21 AM »

Don't threaten me ...  Angry
Logged

.: I use K-Meleon - the browser you can control - but I love Pale Moon too :.
panzer
Participant
*
Posts: 203

View Profile Give some DonationCredits to this forum member
« Reply #10 on: November 11, 2011, 03:38:10 AM »

Thread, not threat  Grin Grin Grin

I am glad that I am not the only K-meleon user here ... Grin
Logged
joiwind
Participant
*
Posts: 480


carpe momentum

View Profile Give some DonationCredits to this forum member
« Reply #11 on: November 11, 2011, 11:18:28 AM »

Thread, not threat  Grin Grin Grin

I am glad that I am not the only K-meleon user here ... Grin

Hi panzer (you know me from the KM forum but under a different name ...  Cool ) - but sorry I can't answer your question  cheesy
Logged

.: I use K-Meleon - the browser you can control - but I love Pale Moon too :.
Contro
Participant
*
Posts: 2,171

View Profile Give some DonationCredits to this forum member
« Reply #12 on: May 04, 2012, 06:32:36 AM »

Sorry it's was my fault.
I was revising all the forum posts today and find this i begin.
Wonderful answers and take good note.
Best Regards from Canary Islands.
 tellme
Logged
tomos
Charter Member
***
Posts: 8,608



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #13 on: May 04, 2012, 08:02:27 AM »

I do not want to open a new threat so will ask my question here. How to delete the duplicate url links from txt files so, that the remaining links would stay in the same order as before (no sorting)?

I suspect this got lost here panzer -
it might be worth making a new threa[t/d] in coding snacks/new requests ...
Logged

Tom
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.033s | Server load: 0.22 ]