DonationCoder.com Forum
DonationCoder.com Software => Coding Snacks => Finished Programs => Topic started by: magician62 on August 26, 2011, 05:46 AM
-
Most URL extractors I have found will take an HTML page and extract all URLs, but this is not what I am trying to do.
I am not looking for a downloader program, the URL are for later processing.
Scenario On Youtube, you are presented with thumbnails of other videos, each linking to their page.
What I want to be able to do is drag an image from Youtube onto "Program-X" and extract the URL
I want to be able to repeat this action so as to build a list of URL's for later processing, with each entry on a new line.
The list should be saveable in .txt format
Another optional would be the ability to copy all the URL for pasting elsewhere.
At present the steps are:-
Create .txt file
Open text file
Select thumbnail
Right click Thumbnail
Copy Shortcut
Select .txt file
Paste URL (either right click, paste or CTRL-V)
Enter (to move to next line for next entry)
The new idea should bring this down to
drag-drop
Save .txt file
TIA
-
I am not looking for a downloader program, the URL are for later processing.
-magician62
Don't overlook downloaders... I think Internet Download Manager (http://www.internetdownloadmanager.com/) (IDM) can do what you want. You can clip an area on a Web page, then go Tasks > Add batch download from clipboard. It gives you a screen where everything is listed, with checkboxes to mark those you do/don't want. Those required are put into a queue, which you can start at any later time you want.
-
Thanks for the reply. I am a bit concerned about using IDM, as I already run Getright (another paid program), which performs much of the same function, but for what I am trying to do, still seems to adds a number of extra steps.
The purpose of the util, is not necessarily to download the files at the link, just to extract the URL's
I did find Skwire's ClipTrap, which goes part-way there. though it doesn't have drag drop addition of new links.
-
I am not looking for a downloader program, the URL are for later processing.
-magician62
Don't overlook downloaders... I think Internet Download Manager (http://www.internetdownloadmanager.com/) (IDM) can do what you want. You can clip an area on a Web page, then go Tasks > Add batch download from clipboard. It gives you a screen where everything is listed, with checkboxes to mark those you do/don't want. Those required are put into a queue, which you can start at any later time you want.
-rjbull
I currently have Downloadhelper, FlashGot, DownThemAll, Scrapbook, Screengrab and some other add-ons in Firefox. At one time or another one of them has been able to do something that one of the others couldn't, or was easier with. Thinking of trying IDM and maybe now Getright.
Could I ask your thoughts on whether IDM or Getright could replace the add-ons I have?
I'd like to try and streamline the number of programs I use if it's even feasible.
Thanks,
-
From what I can tell IDM may have slightly different additional features to Getright, ( I have used getright for about 10 years, though it may have been longer, currently use the Pro version). As to if either would suitably replace what you currently use, I will leave to others to answer. Unfortunately the last time I installed Firefox, it screwed my system, and I had to spend a couple of days sorting it. The closest it gets now is a stick :)
-
If nobody gets to this within a few days, I'll take care of it.
-
Actually, now that I think about it, WordPad can accept a dropped URL and extract the text. Yes, you would have to hit enter to get a new line but that's not so bad, right? Let me know if that will be an acceptable solution.
-
I have used Word in the past. Usually create 1000's of lines, the copying teh result to a notepad. Interesting idea of using Wordpad, not tried that, unfortunately it didnt work. Though I now wonder if there are system issues. On dragging the imagelink to wordpad, my cursor changed to a red bordered circle with diagonal line (Prohibited Icon)! Same happened in Word. Will investigate further, as this could be why things are not working
-
FWIW, I just drag-n-drop tested WordPad with both a text link and an image link from both Internet Explorer and Firefox. All four tests were successful. This was on Windows XP SP3.
-
I am thinking its Win 7 UAC. It used to work, jsut turned UAC off, and will try again
-
I can confirm it was the UAC causing the drag drop issue.
A utility that processes the links to a text file may still be benefficial.
First it would eliminate the need for enter, after each line, or preparing empty lines first.
Second it would eliminate moving hand to mouse to perform each enter operation.
Outcome, a lot faster processing. Simpler for those who tend to work one handed, i.e mostly/only mouse
-
I can confirm it was the UAC causing the drag drop issue.
-magician62
Nice, thanks for tracking this down.
A utility that processes the links to a text file may still be benefficial.
First it would eliminate the need for enter, after each line, or preparing empty lines first.
Second it would eliminate moving hand to mouse to perform each enter operation.
Outcome, a lot faster processing. Simpler for those who tend to work one handed, i.e mostly/only mouse
-magician62
Fair enough, I'll write it for you. However, it will embed the RichEdit control that WordPad uses so you will need to leave UAC off. Cool?
-
No Problems, with the UAC off. Its a great concept, but sometimes a real pain. I have a great utility, that must have it turned off, otherwise I can't use it, and unfortunately the developer is no longer with us to update it.
-
Great, it'll be a few days, but I have this on my ToDo (unless somebody else does it first).
-
I currently have Downloadhelper, FlashGot, DownThemAll, Scrapbook, Screengrab and some other add-ons in Firefox. At one time or another one of them has been able to do something that one of the others couldn't, or was easier with. Thinking of trying IDM and maybe now Getright.
Could I ask your thoughts on whether IDM or Getright could replace the add-ons I have?
I'd like to try and streamline the number of programs I use if it's even feasible.
-bob99
Can't help much, I'm afraid. I haven't used any of those FF extensions, nor Getright. There's also ReGet (http://www.reget.com/), which I seem to remember had some feature that IDM didn't, but I'm happy with IDM now. I have used Free Download Manager (http://www.freedownloadmanager.org/index.htm) (FDM), which supported proxy.pac files before IDM did and worked well, but not used it for a while.
IDM can download entire Web sites for offline browsing, but it doesn't replace utilities for clipping text or images from the Web, in the usual sense. You need something else for that. For that job I've used Evernote, Ultra Recall (a bit) and briefly looked at a few other things. In a way, Evernote sort-of answers the OP, because it does clip URLs. However, mine is the last desktop version, 2.2, and it's now gone cloud, which I don't want. CintaNotes (http://cintanotes.com/index.html) is a good freestanding Web clipper as long as you only want text. Mouser's Clipboard Help+Spell (https://www.donationcoder.com/Software/Mouser/clipboardhelpandspell/index.html) (CHS) is a clipboard enhancer that now saves the URLs of Web clips (and also now clips images, despite the home page not having been updated to say so). But, neither CintaNotes nor CHS understand and save the URLs within a page, only the URL of the page itself. Another clipboard enhancer, ClipCache (http://www.xrayz.co.uk/), does, but I've found recent versions somewhat fragile on my system. I'd guess ClipMate (http://www.thornsoft.com/) would be certain to, as the Big Daddy of the genre, but I don't have it installed at present.
Sorry, not much help.
-
I want to be able to repeat this action so as to build a list of URL's for later processing, with each entry on a new line.-magician62
magician62, do you use Firefox? Because if you do, here are some extensions that might help:
- Copy Links (https://addons.mozilla.org/en-US/firefox/addon/copy-links/)
Copy multiple URLs in anchors to clipboard. - Copy Link URL (https://addons.mozilla.org/en-US/firefox/addon/copy-link-url/)
Copy the URLs of the selected links to clipboard. - Copy Link Text (https://addons.mozilla.org/en-US/firefox/addon/copy-link-text-4750/)
Right-click a link to copy its text; also optionally offers ability to right-click drop-down menu items, buttons, and other form controls to get their text or values - CoLT (https://addons.mozilla.org/en-US/firefox/addon/colt/)
CoLT makes it easy to copy either a hyperlink's text or both the link and the link's text (in a format you specify). Two handy context-menu items make this possible, and don't add clutter; the items are only visible when right-clicking a link!
Try going to the Mozilla Add-Ons Page (https://addons.mozilla.org/en-US/firefox/) and searching "copy links" or "copy link."
-
magician62: Did you want this to save the list between sessions or just give a button to save off the list when you want to? Or both?
-
A new list each session is fine, though I can see there may be a benefit to some for it being maintained between sessions of use. Either way would work for my needs.
rjbull
As mentioned earlier FF screwed my system some time back, so is rarely used, and lives on a stick :)
-
A new list each session is fine, though I can see there may be a benefit to some for it being maintained between sessions of use. Either way would work for my needs.-magician62
I'll probably add three buttons: Clear, Save, and Copy
-
rjbull
As mentioned earlier FF screwed my system some time back, so is rarely used, and lives on a stick :)
-magician62
Sorry, I overlooked that. Do you use Opera? Sanity check - I haven't tried this - but there's MakeLinks for Opera (http://www.joejoesoft.com/cms/showpage.php?cid=145):
MakeLinks is an extension for the web browser Opera that will search for all web addresses in text form and display an in-page popup of clickable links. Optionally, there is a mode for automatic detection of text web addresses on the entire page.
-
I've done some work on this and the RichEdit control in the library I'm using only seems to work 100% with Firefox. With Internet Explorer, it only accepts links dragged from the icon in the address bar; links dragged from the actual page do not work. Furthermore, I can't make it work with Opera at all. Hell, I have a tough time just getting a link to drag from Opera to anywhere. So, with the Firefox limitation in mind, did you still want me to pursue this?
-
Many thanks for trying, unfortunately IE is the browser of choice. I will live with the current method of drag to Wordpad, copy all lines from wordpad to notepad. Maybe teh future will provide other options.
-
copy all lines from wordpad to notepad-magician62
Why are you doing this? Wordpad can save in straight plain-text on its own.
-
Good point ! I forgot that as I tend to use Word, and the default save is .doc :)
-
Do you mind if I mark this thread as solved?
-
Sure