Extract ed2k links

Get ed2k links from an HTML page

First save the page to disk, e.g. page.html, and do:

grep -o 'ed2k://[^"]*' page.html''

Note you must use the correct quotes. Also, you might need to invert the quotes if the page uses older html (i.e. <a href='ed2k…'> is deprecated in newer HTML and should always be <a href=“ed2k…”>)


Last update: 29.09.2007

hacks/rough/ed2kgrep.txt · Last modified: 2010/02/17 01:43 by Toni Corvera
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki