Sponsored Content
Top Forums Shell Programming and Scripting Extract urls from index.html downloaded using wget Post 302462269 by mnanavati on Wednesday 13th of October 2010 06:34:27 PM
Old 10-13-2010
This creates a directory structure of the site itself. I donot want to create a directory stucture. Basically, just like index.html , i want to have another text file that contains all the URLs present in the site.

Thanks,
M
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Extract URLs from HTML code using sed

Hello, i try to extract urls from google-search-results, but i have problem with sed filtering of html-code. what i wont is just list of urls thay apears between ........<p><a href=" and next following " in html code. here is my code, i use wget and pipelines to filtering. wget works, but... (13 Replies)
Discussion started by: L0rd
13 Replies

2. Shell Programming and Scripting

how to limit files downloaded by wget

I am trying to download a page and retrieve only wav and mp3 files via wget. the website is: Alarm Sounds | Free Sound Effects | Alarm Sound Clips | Sound Bites my command is : wget -rl 2 -e robots=off -A wav,mp3 http://soundbible.com/tags-alarm.html When not using the -A wav,mp3... (2 Replies)
Discussion started by: Narnie
2 Replies

3. Shell Programming and Scripting

Help with WGET and renaming downloaded files :(

Hi everybody, I would greatly appreciate some expertise in this matter. I am trying find an efficient way to batch download files from a website and rename each file with the url it originated from (from the CLI). (ie. Instead of xyz.zip, the output file would be http://www.abc.com/xyz.zip) A... (10 Replies)
Discussion started by: o0110o
10 Replies

4. Shell Programming and Scripting

Remove external urls from .html file

Hi everyone. I have an html file with lines like so: link href="localFolder/..."> link href="htp://..."> img src="localFolder/..."> img src="htp://..."> I want to remove the links with http in the href and imgs with http in its src. I'm having trouble removing them because there... (4 Replies)
Discussion started by: CowCow339
4 Replies

5. Shell Programming and Scripting

extract fields from a downloaded html file

I have around 100 html files and in each html file I have 5-6 such paragraphs of a company and I need to extract the Name of the company from either the one after "title" or "/company" and then the number of employees and finally the location . <div class="search_result"> <div... (1 Reply)
Discussion started by: gubbu
1 Replies

6. Shell Programming and Scripting

How to remove urls from html files

Does anybody know how to remove all urls from html files? all urls are links with anchor texts in the form of <a href="http://www.anydomain.com">ANCHOR</a> they may start with www or not. Goal is to delete all urls and keep the ANCHOR text and if possible to change tags around anchor to... (2 Replies)
Discussion started by: georgi58
2 Replies

7. Shell Programming and Scripting

Specific image to be downloaded with wget

Hello All, I have gone through Google and came to know that we can download images from a site using wget. Now I am been asked to check whether an image is populated in a site or not. If yes, please send that image to an address as an attachment.. Say for example, the site is Wiki -... (6 Replies)
Discussion started by: sathyaonnuix
6 Replies

8. UNIX for Dummies Questions & Answers

Wget -i URLs.txt problem

Hi Everyone, I have a problem with wget using an input file of URLs. When I execute this -> wget -i URLs.txt I get the login.php pages transferred but not the files I have in the URLs.txt file. I need to use the input file because it will have new products to download each week. I want my VA to... (3 Replies)
Discussion started by: Keith londrie
3 Replies

9. Shell Programming and Scripting

BASH scripting - Preventing wget messed downloaded files

hello. How can I detect within script, that the downloaded file had not a correct size. linux:~ # wget --limit-rate=20k --ignore-length -O /Software_Downloaded/MULTIMEDIA_ADDON/skype-4.1.0.20-suse.i586.rpm ... (6 Replies)
Discussion started by: jcdole
6 Replies
DOKUWIKI-ADDSITE(1)						   User commands					       DOKUWIKI-ADDSITE(1)

NAME
dokuwiki-addsite - Create a new site driven by DokuWiki SYNOPSIS
dokuwiki-addsite {SITE_NAME} DESCRIPTION
DokuWiki is a standards compliant, simple to use wiki mainly aimed at creating documentation of any kind. dokuwiki-addsite creates the file hierarchy and configuration required to define a new site driven by the installed DokuWiki engine. OPTIONS
SITE_NAME Name of the site to create. For a virtual host-based setup, it reflects the corresponding hostname. For instance, for a site accessible at an address such as http://wiki.project.example.com:8080/foo/bar/, it can be either project.example.com, wiki.project.example.com, wiki.project.example.com.foo.bar or even 8080.wiki.project.example.com.foo.bar. For a directory or htaccess-based setup, this is the corresponding site identifier. For instance, for a site accessible at an address such as http://wiki.example.com/project/, rewritten by the web server as doku.php?animal=project, it is simply project. NOTES
The site configuration is stored in /etc/dokuwiki/farm/SITE_NAME/, and the data is stored in /var/lib/dokuwiki/farm/SITE_NAME/, as indicated in the site configuration. In a virtual host-based setup, if you need to make a given site accessible at several URLs, you can symlink its configuration directory to another name (it is not necessary to symlink the data directory). If you need to rename a site, you can rename the configuration and data directories, and edit the configuration to point to the new data directory. BUGS
No check is done against the SITE_NAME, just avoid names like ../../../etc. Please report any bug to the Debian BTS. SEE ALSO
dokuwiki-delsite(1), http://www.dokuwiki.org/tips:farm AUTHOR
Tanguy Ortolo <tanguy+debian@ortolo.eu> Wrote this manpage for the Debian system. COPYRIGHT
Copyright (C) 2011 Tanguy Ortolo This manual page was written for the Debian system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at your option) any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. DokuWiki 05/18/2011 DOKUWIKI-ADDSITE(1)
All times are GMT -4. The time now is 01:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy